RectBorderPainter({ required this.radius, required this.strokeWidth, required this.gradient, }) : _paint = Paint();