const RotatingView( { required this.child, this.speed = const Duration(seconds: 2), Key? key}) : super(key: key);