Skip to content

Commit

Permalink
Remove useMaterial3 property because true is default now
Browse files Browse the repository at this point in the history
  • Loading branch information
7h30n3 committed Mar 26, 2024
1 parent f973d88 commit 71a9329
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/commons/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class Default {

// Default theme for all common theme settings
final ThemeData defaultTheme = ThemeData(
useMaterial3: true,
appBarTheme: AppBarTheme(
elevation: Default.elevation,
shadowColor: Default.shadow,
Expand Down Expand Up @@ -115,7 +114,6 @@ final ThemeData defaultTheme = ThemeData(
);

final ThemeData lightTheme = ThemeData(
useMaterial3: true,
colorScheme: ThemeData.light().colorScheme.copyWith(
primary: Default.primary,
onPrimary: Default.onPrimary,
Expand Down Expand Up @@ -152,7 +150,6 @@ final ThemeData lightTheme = ThemeData(
);

final ThemeData darkTheme = ThemeData(
useMaterial3: true,
colorScheme: ThemeData.dark().colorScheme.copyWith(
primary: Default.primary,
onPrimary: Default.onPrimary,
Expand Down

0 comments on commit 71a9329

Please sign in to comment.