LinearGradient constructor Null safety
Implementation
const factory LinearGradient(
{final Alignment begin,
final Alignment end,
required final List<Color> colors,
final List<double>? stops,
final TileMode tileMode,
final GradientTransform? transform}) = _$LinearGradient;