ToggleRotate constructor

ToggleRotate({
  1. required Widget child,
  2. VoidCallback? onTap,
  3. ValueChanged<bool>? onEnd,
  4. double beginAngle = 0,
  5. double endAngle = 90,
  6. bool clockwise = true,
  7. int durationMs = 200,
  8. Curve curve = Curves.fastOutSlowIn,
})

Implementation

ToggleRotate({
  required this.child,
  this.onTap,
  this.onEnd,
  this.beginAngle = 0,
  this.endAngle = 90,
  this.clockwise = true,
  this.durationMs = 200,
  this.curve = Curves.fastOutSlowIn,
});