Skip to content

Commit

Permalink
Add elevatedButtonTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
bizz84 committed Jan 16, 2024
1 parent 459ba5e commit d6d17c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Color>(primaryColor),
foregroundColor: MaterialStateProperty.all<Color>(Colors.white),
),
),
outlinedButtonTheme: OutlinedButtonThemeData(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(primaryColor),
Expand Down

0 comments on commit d6d17c3

Please sign in to comment.