ToggleRotate constructor
const
ToggleRotate({
- Key? key,
- required Widget child,
- GestureTapCallback? onTap,
- double rad = pi / 2,
- bool clockwise = true,
- Duration duration = const Duration(milliseconds: 200),
- Curve curve = Curves.fastOutSlowIn,
- ToggleBuilder? toggleBuilder,
- bool isRotate = false,
Implementation
const ToggleRotate(
{super.key,
required this.child,
this.onTap,
this.rad = pi / 2,
this.clockwise = true,
this.duration = const Duration(milliseconds: 200),
this.curve = Curves.fastOutSlowIn,
this.toggleBuilder,
this.isRotate = false});