color property

Color? color
final

The color to fill in the background of the box.

The color is filled into the shape of the box (e.g., either a rectangle, potentially with a borderRadius, or a circle).

This is ignored if gradient is non-null.

The color is drawn under the image.

Implementation

final Color? color;