mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Update linting_tool (#1975)
This is to work around a CI failure on `master` channel. Context: https://github.com/flutter/samples/actions/runs/5709180900/job/15467660430#step:5:1244 ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
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();
|
||||
final base = ThemeData.light(useMaterial3: true);
|
||||
return base.copyWith(
|
||||
bottomSheetTheme: BottomSheetThemeData(
|
||||
backgroundColor: AppColors.blue700,
|
||||
@@ -45,7 +45,6 @@ abstract class AppTheme {
|
||||
textTheme: _buildReplyLightTextTheme(base.textTheme),
|
||||
scaffoldBackgroundColor: AppColors.blue50,
|
||||
bottomAppBarTheme: const BottomAppBarTheme(color: AppColors.blue700),
|
||||
useMaterial3: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user