Both of these dependencies were confusing.
For example if one configured the Theme’s accentIconTheme
to change the appearance of all floating action buttons,
it was difficult to know what other components would be affected,
or might be affected in the future.

The Material Design spec no longer includes an “accent” color.
The ColorScheme’s secondary color is now used instead.

With this change, the default behavior uses the color scheme’s
onSecondary color instead.

Description of change

Previously, the accentIconTheme provided a default for the
FloatingActionButton’s foregroundColor property:

final

Color

foregroundColor

this

foregroundColor

??

floatingActionButtonTheme

foregroundColor

??

theme

accentIconTheme

color

// To be removed.