brightness property

Brightness? brightness
final

The brightness override for Cupertino descendants.

Defaults to null. If a non-null Brightness is specified, the value will take precedence over the ambient MediaQueryData.platformBrightness, when determining the brightness of descendant Cupertino widgets.

If coming from a Material Theme and unspecified, brightness will be derived from the Material ThemeData's brightness.

See also:

Implementation

final Brightness? brightness;