Skip to content

Commit

Permalink
[Theme] Fix buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
gargakshit committed Feb 7, 2021
1 parent bc01982 commit a6eeee8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ class MyApp extends StatelessWidget {
}),
),
),
textButtonTheme: TextButtonThemeData(
style: ButtonStyle(
shape: MaterialStateProperty.all(RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8),
)),
foregroundColor: MaterialStateProperty.all(Colors.white),
),
),
buttonTheme: ButtonThemeData(
buttonColor: primaryColor,
shape: RoundedRectangleBorder(
Expand Down

0 comments on commit a6eeee8

Please sign in to comment.