brightness property Null safety

  1. @Deprecated('This property is no longer used, please use systemOverlayStyle instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')
Brightness? brightness
final

This property is deprecated, please use systemOverlayStyle instead.

Overrides the default value of the obsolete AppBar.brightness property which implicitly defines AppBar.systemOverlayStyle in all descendant AppBar widgets.

See also:

Implementation

@Deprecated(
  'This property is no longer used, please use systemOverlayStyle instead. '
  'This feature was deprecated after v2.4.0-0.0.pre.',
)
final Brightness? brightness;