const RotateWidget({Key? key, required this.child, this.isClockwise, this.duration, this.curve, this.isRepeat}) : super(key: key);