gradient property

Gradient? gradient
final

The Gradient to provide to any children Foil widgets.

A gradient in an ancestral Roll may be provided to a descendent Foil as its Foil.gradient if one is not explicitly perscribed in the Foil.

  • If neither an ancestral Roll nor a Foil dictates its own gradient, then the default is Foils.rainbows.loopingLinear.
  • A descendent that provides its own Foil.gradient will override this gradient.

Implementation

final Gradient? gradient;