LinearGradientUtils extension
Offers copyWith method to make duplicate Gradient
s.
Methods
-
copyWith(
{AlignmentGeometry? begin, AlignmentGeometry? end, List< Color> ? colors, List<double> ? stops, TileMode? tileMode, GradientTransform? transform}) → LinearGradient -
Available on LinearGradient, provided by the LinearGradientUtils extension
📋 Returns a new copy of thisLinearGradient
with any provided optional parameters overriding those ofthis
.