accentColorBrightness property Null safety

Brightness accentColorBrightness
Deprecated('No longer used by the framework, please remove any reference to it. ' 'For more information, consult the migration guide at ' 'https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. ' 'This feature was deprecated after v2.3.0-0.1.pre.')">@Deprecated('No longer used by the framework, please remove any reference to it. ' 'For more information, consult the migration guide at ' 'https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. ' 'This feature was deprecated after v2.3.0-0.1.pre.')

Obsolete property that was originally used to determine the color of text and icons placed on top of the accent color (e.g. the icons on a floating action button).

The material library no longer uses this property. The floatingActionButtonTheme can be used to configure the appearance of FloatingActionButtons. 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. '
  'For more information, consult the migration guide at '
  'https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. '
  'This feature was deprecated after v2.3.0-0.1.pre.',
)
Brightness get accentColorBrightness => _accentColorBrightness!;