ThemeData's accent properties have been deprecated

Summary

Context

Description of change

Migration guide

Application theme
accentColor
accentColorBrightness
accentTextTheme
accentIconTheme

Timeline

References

Summary

The ThemeData accentColor, accentColorBrightness, accentIconTheme and
accentTextTheme properties have been deprecated.

Material Design spec no longer specifies or uses an “accent”
color for the Material components. The default values for component
colors are derived from the overall theme’s

color scheme. The

secondary color is now typically used instead of

onSecondary color is used when a contrasting
color is needed.

Context

This was a small part of the Material Theme System Updates project.