color property

Color color
final, inherited

The button's fill color, displayed by its Material, while it is in its default (unpressed, enabled) state.

The default fill color is the theme's button color, ThemeData.buttonColor.

See also:

  • disabledColor - the fill color of the button when the button is disabled.

Implementation

final Color color