Rectangle.data({ required this.startPoint, required this.endPoint, required Paint paint, }) : super.paint(paint);