backgroundColor property

Color? backgroundColor
final

The button's background color.

If this property is null, then the FloatingActionButtonThemeData.backgroundColor of ThemeData.floatingActionButtonTheme is used. If that property is also null, then the Theme's ColorScheme.secondary color is used.

Implementation

final Color? backgroundColor;