CssBackgroundImage.linearGradient constructor
CssBackgroundImage.linearGradient({
- CssGradientDirection? direction,
- required List<
CssGradientStop> stops, - bool repeating,
Linear gradient.
direction can be an angle (e.g. '45deg') or side/corner (e.g. 'to bottom right').
Implementation
factory CssBackgroundImage.linearGradient({
CssGradientDirection? direction,
required List<CssGradientStop> stops,
bool repeating,
}) = _CssBackgroundImageLinearGradient;