GradientBorderPainter constructor

GradientBorderPainter({
  1. required List<Color> gradientColors,
  2. required double borderWidth,
  3. required double borderRadius,
  4. required Animation<double> animation,
  5. required double opacity,
})

Implementation

GradientBorderPainter({
  required this.gradientColors,
  required this.borderWidth,
  required this.borderRadius,
  required this.animation,
  required this.opacity,
}) : super(repaint: animation);