Skip to content

Commit

Permalink
remove useMaterial3 (#2579)
Browse files Browse the repository at this point in the history
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].
  • Loading branch information
2shrestha22 authored Feb 13, 2025
1 parent 9fef133 commit 04aea26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compass_app/app/lib/ui/core/themes/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ abstract final class AppTheme {
);

static ThemeData lightTheme = ThemeData(
useMaterial3: true,
brightness: Brightness.light,
colorScheme: AppColors.lightColorScheme,
textTheme: _textTheme,
Expand All @@ -55,7 +54,6 @@ abstract final class AppTheme {
);

static ThemeData darkTheme = ThemeData(
useMaterial3: true,
brightness: Brightness.dark,
colorScheme: AppColors.darkColorScheme,
textTheme: _textTheme,
Expand Down

0 comments on commit 04aea26

Please sign in to comment.