overlayStyle property

SystemUiOverlayStyle get overlayStyle

Return a system ui overlay style according to the brightness of the theme data. 根据主题返回状态栏的明暗样式

Implementation

SystemUiOverlayStyle get overlayStyle =>
    theme.appBarTheme.systemOverlayStyle ??
    (theme.effectiveBrightness.isDark
        ? SystemUiOverlayStyle.light
        : SystemUiOverlayStyle.dark);