remove useMaterial3 (#2579)

This PR removes redundant `useMaterial3` since it is true by default.

Fixes https://github.com/flutter/flutter/issues/162818

If you need help, consider asking for advice on the #hackers-devrel channel on [Discord].
pull/2587/head
Sangam Shrestha 7 months ago committed by GitHub
parent 9fef1332f3
commit 04aea26b6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save