getBlackStatusBarStyle static method

SystemUiOverlayStyle getBlackStatusBarStyle([
  1. bool isDark = false
])

获取黑色字体状态栏样式配置,通过AnnotatedRegion使用 针对未使用baseAppBar的页面

Implementation

static SystemUiOverlayStyle getBlackStatusBarStyle([bool isDark = false]) {
  return getStatusBarStyle(isDark: isDark, brightness: Brightness.dark);
}