CupertinoLeftScroll constructor

CupertinoLeftScroll({
  1. Key? key,
  2. required Widget child,
  3. required List<Widget> buttons,
  4. LeftScrollCloseTag? closeTag,
  5. VoidCallback? onTap,
  6. double buttonWidth = 80.0,
  7. bool? closeOnPop,
  8. bool? opacityChange,
  9. bool bounce = false,
  10. BounceStyle? bounceStyle,
})

Implementation

CupertinoLeftScroll({
  this.key,
  required this.child,
  required this.buttons,
  this.closeTag,
  this.onTap,
  this.buttonWidth = 80.0,
  bool? closeOnPop,
  this.opacityChange,
  this.bounce = false,
  this.bounceStyle,
})  : this.closeOnPop = closeOnPop ?? !Platform.isIOS,
      super(key: key);