📜  状态栏抖动的颜色 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:04.227000             🧑  作者: Mango

代码示例2
return AnnotatedRegion(
  value: const SystemUiOverlayStyle(
    // For Android.
    // Use [light] for white status bar and [dark] for black status bar.
    statusBarIconBrightness: Brightness.light,
    // For iOS.
    // Use [dark] for white status bar and [light] for black status bar.
    statusBarBrightness: Brightness.dark,
  ),
  child: Scaffold(...),
);