GradientBorderPainter constructor

GradientBorderPainter(
  1. Animation<double> animation,
  2. List<Color> colors,
  3. double borderPadding
)

Creates a GradientBorderPainter with the given animation, colors, and borderPadding.

Implementation

GradientBorderPainter(this.animation, this.colors, this.borderPadding)
    : super(repaint: animation);