RadialGradient constructor Null safety

const RadialGradient(
  1. {Alignment center,
  2. double radius,
  3. required List<Color> colors,
  4. List<double>? stops,
  5. TileMode tileMode,
  6. Alignment? focal,
  7. double focalRadius,
  8. GradientTransform? transform}
)

Implementation

const factory RadialGradient(
    {final Alignment center,
    final double radius,
    required final List<Color> colors,
    final List<double>? stops,
    final TileMode tileMode,
    final Alignment? focal,
    final double focalRadius,
    final GradientTransform? transform}) = _$RadialGradient;