color property Null safety

Color? color
final

The color to fill in the background of the shape.

The color is under the image.

If a gradient is specified, color must be null.

Implementation

final Color? color;