Gradient.linear constructor Null safety
Implementation
const factory Gradient.linear({
@Default(Alignment.centerLeft) Alignment begin,
@Default(Alignment.centerRight) Alignment end,
required List<Color> colors,
List<double>? stops,
@Default(TileMode.clamp) TileMode tileMode,
GradientTransform? transform,
}) = LinearGradient;