color property Null safety

Color? color
final

Defines the color for the slice.

By default, the value of color is ThemeData.cardColor.

Implementation

final Color? color;