gradient property

Gradient? gradient
final

A color gradient to use when drawing the background of the segment.

If this is specified, color has no effect.

Implementation

final Gradient? gradient;