From d6d17c3c69e4854eaf99dcda87ee7cb985c5924c Mon Sep 17 00:00:00 2001 From: Andrea Bizzotto Date: Tue, 16 Jan 2024 10:32:07 +0000 Subject: [PATCH] Add elevatedButtonTheme --- lib/src/app.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/app.dart b/lib/src/app.dart index a595f399..afb98931 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -24,6 +24,12 @@ class MyApp extends ConsumerWidget { scaffoldBackgroundColor: Colors.grey[200], dividerColor: Colors.grey[400], // https://github.com/firebase/flutterfire/blob/master/packages/firebase_ui_auth/doc/theming.md + elevatedButtonTheme: ElevatedButtonThemeData( + style: ButtonStyle( + backgroundColor: MaterialStateProperty.all(primaryColor), + foregroundColor: MaterialStateProperty.all(Colors.white), + ), + ), outlinedButtonTheme: OutlinedButtonThemeData( style: ButtonStyle( backgroundColor: MaterialStateProperty.all(primaryColor),