1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Added brightness setting (#340)

This commit is contained in:
Andrew Brogdon
2020-02-26 14:28:33 -08:00
committed by GitHub
parent e171f543c3
commit 1ca27ce6db

View File

@@ -23,6 +23,9 @@ void main() {
child: ScopedModel<Preferences>( child: ScopedModel<Preferences>(
model: Preferences()..load(), model: Preferences()..load(),
child: CupertinoApp( child: CupertinoApp(
theme: CupertinoThemeData(
brightness: Brightness.light,
),
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
color: Styles.appBackground, color: Styles.appBackground,
home: HomeScreen(), home: HomeScreen(),