StatusBarProperties.light constructor

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

Implementation

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