DCFGradient constructor

const DCFGradient({
  1. required DCFGradientType type,
  2. required List<Color> colors,
  3. List<double>? stops,
  4. double? startX,
  5. double? startY,
  6. double? endX,
  7. double? endY,
  8. double? centerX,
  9. double? centerY,
  10. double? radius,
})

Implementation

const DCFGradient({
  required this.type,
  required this.colors,
  this.stops,
  this.startX,
  this.startY,
  this.endX,
  this.endY,
  this.centerX,
  this.centerY,
  this.radius,
});