LinearGradientUtils extension

Offers copyWith method to make duplicate Gradients.

on

Methods

copyWith({AlignmentGeometry? begin, AlignmentGeometry? end, List<Color>? colors, List<double>? stops, TileMode? tileMode, GradientTransform? transform}) LinearGradient
📋 Returns a new copy of this LinearGradient with any provided optional parameters overriding those of this.