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:
@@ -23,6 +23,9 @@ void main() {
|
||||
child: ScopedModel<Preferences>(
|
||||
model: Preferences()..load(),
|
||||
child: CupertinoApp(
|
||||
theme: CupertinoThemeData(
|
||||
brightness: Brightness.light,
|
||||
),
|
||||
debugShowCheckedModeBanner: false,
|
||||
color: Styles.appBackground,
|
||||
home: HomeScreen(),
|
||||
|
||||
Reference in New Issue
Block a user