letterSpacing:

1.2

);

Except in a case where an app has explicitly configured the
accentTextTheme to take advantage of this undocumented dependency,
this use of accentTextTheme is unnecessary.
This change replaces this use of accentTextTheme with textTheme.

Migration guide

This change occurred in two steps:

If the foreground of a FloatingActionButton is set
to a non-default color, a warning is now printed.

The accentIconTheme dependency was removed.
If you haven’t already done so, migrate your apps
per the pattern below.

To configure the FloatingActionButton’s foregroundColor
for all FABs, you can configure the theme’s
floatingActionButtonTheme instead of its accentIconTheme.

Code before migration:

MaterialApp

theme:

ThemeData