gradient property

Gradient? get gradient

The gradient to share with descendant Foil widgets.

If a descendant Foil doesn't specify its own gradient, it will use this gradient.

Implementation

Gradient? get gradient => widget.gradient;