StatusBarProperties.dark constructor

StatusBarProperties.dark({
  1. Color color = Colors.transparent,
  2. bool? contrastEnforced,
  3. Brightness brightness = Brightness.dark,
  4. Brightness? iconBrightness,
  5. bool? transparency,
})

Implementation

factory StatusBarProperties.dark({
  Color color = Colors.transparent,
  bool? contrastEnforced,
  Brightness brightness = Brightness.dark,
  Brightness? iconBrightness,
  bool? transparency,
}) {
  return StatusBarProperties(
    color: color,
    contrastEnforced: contrastEnforced,
    brightness: brightness,
    iconBrightness: iconBrightness ?? brightness,
    transparency: transparency,
  );
}