mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214) (#2217)
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:linting_tool/theme/colors.dart';
|
||||
|
||||
abstract class AppTheme {
|
||||
static ThemeData buildReplyLightTheme(BuildContext context) {
|
||||
final base = ThemeData.light(useMaterial3: true);
|
||||
final base = ThemeData.light();
|
||||
return base.copyWith(
|
||||
bottomSheetTheme: BottomSheetThemeData(
|
||||
backgroundColor: AppColors.blue700,
|
||||
|
||||
Reference in New Issue
Block a user