RotationAnimationWheel constructor
RotationAnimationWheel({
- Key? key,
- required double size,
- required StatelessWidget child,
- double rotation = 360,
- required VoidCallback? onPressed,
- Duration duration = const Duration(milliseconds: 500),
- bool waitForAnimation = true,
Implementation
RotationAnimationWheel({
super.key,
required this.size,
required this.child,
this.rotation = 360,
required this.onPressed,
this.duration = const Duration(milliseconds: 500),
this.waitForAnimation = true,
});