brightness property Null safety

Brightness? brightness
final

The brightness of the specified backgroundColor.

Setting this value changes the style of the system status bar. Typically used to increase the contrast ratio of the system status bar over backgroundColor.

If set to null, the value of the property will be inferred from the relative luminance of backgroundColor.

Implementation

final Brightness? brightness;