gradient property

Gradient? gradient
final

The gradient to share with descendant Foil widgets.

If a descendant Foil doesn't specify its own gradient, it will use this gradient. If this is null and a Foil doesn't specify its own gradient, the Foil will fall back to Foils.linearLooping.

Implementation

final Gradient? gradient;