CSSConicGradient constructor

CSSConicGradient({
  1. AlignmentGeometry center = Alignment.center,
  2. required List<Color> colors,
  3. List<double>? stops,
  4. GradientTransform? transform,
})

Creates a linear gradient.

The colors argument must not be null. If stops is non-null, it must have the same length as colors.

Implementation

CSSConicGradient(
    {AlignmentGeometry center = Alignment.center,
    required List<Color> colors,
    List<double>? stops,
    GradientTransform? transform})
    : super(center: center, colors: colors, stops: stops, transform: transform);