color property Null safety

Color? color
final

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

See also:

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

Implementation

final Color? color;