gradient property

  1. @override
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

@override
final Gradient? gradient;