primaryColorBrightness property Null safety

Brightness primaryColorBrightness
Deprecated('No longer used by the framework, please remove any reference to it. ' 'This feature was deprecated after v2.6.0-11.0.pre.')">@Deprecated('No longer used by the framework, please remove any reference to it. ' 'This feature was deprecated after v2.6.0-11.0.pre.')

Obsolete property that was originally used to determine the color of text and icons placed on top of the primary color (e.g. toolbar text).

The material library no longer uses this property. The appBarTheme can be used to configure the appearance of AppBars. The appearance of Keyboards for TextFields now uses the overall theme's ThemeData.brightness and can also be customized with TextField.keyboardAppearance. The brightness of any color can be found with ThemeData.estimateBrightnessForColor.

Implementation

@Deprecated(
  'No longer used by the framework, please remove any reference to it. '
  'This feature was deprecated after v2.6.0-11.0.pre.',
)
Brightness get primaryColorBrightness => _primaryColorBrightness!;