LinearGradientUtils extension Null safety

Offers copyWith method to make duplicate Gradients.

on

Methods

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