ToggleRotate constructor
ToggleRotate({
- required Widget child,
- VoidCallback? onTap,
- ValueChanged<
bool> ? onEnd, - double beginAngle = 0,
- double endAngle = 90,
- bool clockwise = true,
- int durationMs = 200,
- 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,
});