gradient property Null safety

Gradient? gradient
final

A gradient to use when filling the shape.

The gradient is under the image.

If a color is specified, gradient must be null.

Implementation

final Gradient? gradient;