new Theme(
data: new ThemeData(
brightness: Brightness.light,
),
child: Scaffold()
)
Brightness.dark:把状态栏字体颜色修改为白色
Brightness.light:把状态栏字体颜色修改为黑色
new Theme(
data: new ThemeData(
brightness: Brightness.light,
),
child: Scaffold()
)
Brightness.dark:把状态栏字体颜色修改为白色
Brightness.light:把状态栏字体颜色修改为黑色