GradientUtils extension

Offers copyWith method to make duplicate Gradients.

on

Methods

copyWith({List<Color>? colors, List<double>? stops, GradientTransform? transform, TileMode? tileMode, AlignmentGeometry? begin, AlignmentGeometry? end, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, double? startAngle, double? endAngle}) Gradient

Available on Gradient, provided by the GradientUtils extension

📋 Returns a new copy of this Gradient with any appropriate optional parameters overriding those of this.