color property

Color? color
final

The color of the button's background.

Defaults to null which produces a button with no background or border.

Defaults to the CupertinoTheme's primaryColor when the CupertinoButton.filled constructor is used.

Implementation

final Color? color;