Skip to content

Commit 04aea26

Browse files
authored
remove useMaterial3 (#2579)
This PR removes redundant `useMaterial3` since it is true by default. Fixes flutter/flutter#162818 If you need help, consider asking for advice on the #hackers-devrel channel on [Discord].
1 parent 9fef133 commit 04aea26

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compass_app/app/lib/ui/core/themes/theme.dart

-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ abstract final class AppTheme {
4141
);
4242

4343
static ThemeData lightTheme = ThemeData(
44-
useMaterial3: true,
4544
brightness: Brightness.light,
4645
colorScheme: AppColors.lightColorScheme,
4746
textTheme: _textTheme,
@@ -55,7 +54,6 @@ abstract final class AppTheme {
5554
);
5655

5756
static ThemeData darkTheme = ThemeData(
58-
useMaterial3: true,
5957
brightness: Brightness.dark,
6058
colorScheme: AppColors.darkColorScheme,
6159
textTheme: _textTheme,

0 commit comments

Comments
 (0)