GradientLinePainter constructor

GradientLinePainter({
  1. Offset? startPoint,
  2. Color? startColor,
  3. Offset? endPoint,
  4. Color? endColor,
})

Draws a line between 2 points with a gradient

Implementation

GradientLinePainter({
  this.startPoint,
  this.startColor,
  this.endPoint,
  this.endColor,
});