ToggleRotate constructor

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