LinearGradientDescriptor constructor

LinearGradientDescriptor(
  1. {required List<Color> colors,
  2. required Alignment beginAlign,
  3. required Alignment endAlign,
  4. required List<double> stops}
)

Implementation

LinearGradientDescriptor(
    {required this.colors,
    required this.beginAlign,
    required this.endAlign,
    required this.stops});