From 04aea26b6aa63d05718413d6b2e2d65a03ce0662 Mon Sep 17 00:00:00 2001 From: Sangam Shrestha <2shrestha22@gmail.com> Date: Thu, 13 Feb 2025 09:18:57 +0545 Subject: [PATCH] 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]. --- compass_app/app/lib/ui/core/themes/theme.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/compass_app/app/lib/ui/core/themes/theme.dart b/compass_app/app/lib/ui/core/themes/theme.dart index 22962eef8df..79c4a54affc 100644 --- a/compass_app/app/lib/ui/core/themes/theme.dart +++ b/compass_app/app/lib/ui/core/themes/theme.dart @@ -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,