LeftScroll constructor

LeftScroll(
  1. {Key? key,
  2. required Widget child,
  3. required List<Widget> buttons,
  4. LeftScrollCloseTag? closeTag,
  5. VoidCallback? onSlideStarted,
  6. VoidCallback? onSlideCompleted,
  7. VoidCallback? onSlideCanceled,
  8. VoidCallback? onTap,
  9. double buttonWidth = 80.0,
  10. dynamic onScroll(
    1. double
    )?,
  11. bool closeOnPop = true}
)

Implementation

LeftScroll({
  this.key,
  required this.child,
  required this.buttons,
  this.closeTag,
  this.onSlideStarted,
  this.onSlideCompleted,
  this.onSlideCanceled,
  this.onTap,
  this.buttonWidth: 80.0,
  this.onScroll,
  this.closeOnPop: true,
}) : super(key: key);