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