gradients property

List<Gradient>? gradients
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 List<Gradient>? gradients;