1
0
mirror of https://github.com/flutter/samples.git synced 2026-06-03 21:09:46 +00:00

[VeggieSeasons] Fix dark mode problems (#395)

This commit is contained in:
Abdullah Deshmukh
2020-03-31 10:25:00 +05:30
committed by GitHub
parent 28742ddeaf
commit d9c9b3a519
12 changed files with 255 additions and 207 deletions

View File

@@ -8,7 +8,6 @@ import 'package:scoped_model/scoped_model.dart';
import 'package:veggieseasons/data/app_state.dart';
import 'package:veggieseasons/data/preferences.dart';
import 'package:veggieseasons/screens/home.dart';
import 'package:veggieseasons/styles.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
@@ -23,11 +22,7 @@ void main() {
child: ScopedModel<Preferences>(
model: Preferences()..load(),
child: CupertinoApp(
theme: CupertinoThemeData(
brightness: Brightness.light,
),
debugShowCheckedModeBanner: false,
color: Styles.appBackground,
home: HomeScreen(),
),
),