SweepGradient constructor Null safety

const SweepGradient(
  1. {Alignment center,
  2. double startAngle,
  3. double endAngle,
  4. required List<Color> colors,
  5. List<double>? stops,
  6. TileMode tileMode,
  7. GradientTransform? transform}
)

Implementation

const factory SweepGradient(
    {final Alignment center,
    final double startAngle,
    final double endAngle,
    required final List<Color> colors,
    final List<double>? stops,
    final TileMode tileMode,
    final GradientTransform? transform}) = _$SweepGradient;