More material 3 updates

This commit is contained in:
Juan Gilsanz Polo 2023-01-25 19:55:34 +01:00
parent ad51937d01
commit 386af8e809
17 changed files with 304 additions and 279 deletions

View file

@ -286,7 +286,6 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
),
body: generateBody(),
floatingActionButton: FloatingActionButton(
backgroundColor: Theme.of(context).floatingActionButtonTheme.backgroundColor,
onPressed: () => {
showModalBottomSheet(
context: context,
@ -297,10 +296,7 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
isScrollControlled: true
)
},
child: Icon(
Icons.add,
color: Theme.of(context).floatingActionButtonTheme.foregroundColor,
),
child: const Icon(Icons.add),
),
);
}