color property Null safety

Color? color
@Deprecated('This property is no longer used, please use backgroundColor instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')

This property is deprecated, please use backgroundColor instead.

Obsolete property that overrides the default value of AppBar.backgroundColor in all descendant AppBar widgets.

See also:

Implementation

@Deprecated(
  'This property is no longer used, please use backgroundColor instead. '
  'This feature was deprecated after v2.4.0-0.0.pre.',
)
Color? get color => backgroundColor;