VxToggleRotate constructor

const VxToggleRotate({
  1. Key? key,
  2. required Widget child,
  3. GestureTapCallback? onTap,
  4. double rad = math.pi / 2,
  5. bool clockwise = true,
  6. Duration duration = const Duration(milliseconds: 200),
  7. Curve curve = Curves.fastOutSlowIn,
  8. VxToggleBuilder? toggleBuilder,
  9. 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});