RotationAnimationWheel constructor

RotationAnimationWheel({
  1. Key? key,
  2. required double size,
  3. required StatelessWidget child,
  4. double rotation = 360,
  5. required VoidCallback? onPressed,
  6. Duration duration = const Duration(milliseconds: 500),
  7. 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,
});