diff --git a/flutter/lib/ui/home/app_drawer.dart b/flutter/lib/ui/home/app_drawer.dart index 3171f9c50..48497e31a 100644 --- a/flutter/lib/ui/home/app_drawer.dart +++ b/flutter/lib/ui/home/app_drawer.dart @@ -22,6 +22,9 @@ class AppDrawer extends StatelessWidget { backgroundColor: AppColors.drawerBackground, child: Theme( data: Theme.of(context).copyWith( + // TODO: https://docs.flutter.dev/release/breaking-changes/material-3-migration + // ignore: deprecated_member_use + useMaterial3: false, textTheme: Theme.of(context).textTheme.apply( bodyColor: AppColors.drawerForeground, displayColor: AppColors.drawerForeground, diff --git a/flutter/lib/ui/root/app.dart b/flutter/lib/ui/root/app.dart index 7957087ce..06ee7df1d 100644 --- a/flutter/lib/ui/root/app.dart +++ b/flutter/lib/ui/root/app.dart @@ -18,6 +18,9 @@ class MyApp extends StatelessWidget { localizationsDelegates: AppLocalizations.localizationsDelegates, supportedLocales: AppLocalizations.supportedLocales, theme: Theme.of(context).copyWith( + // TODO: https://docs.flutter.dev/release/breaking-changes/material-3-migration + // ignore: deprecated_member_use + useMaterial3: false, colorScheme: ColorScheme.fromSwatch().copyWith( primary: AppColors.primary, secondary: AppColors.secondary,