const RotateView({ super.key, required this.angle, this.duration = const Duration(milliseconds: 300), required this.child, });