gradient property Null safety

Gradient? gradient
final

A gradient to use when filling the box.

If this is specified, color has no effect.

The gradient is drawn under the image.

Implementation

final Gradient? gradient;