SlidingUpPanelWidget constructor

SlidingUpPanelWidget({
  1. required Widget child,
  2. required double controlHeight,
  3. AnimationController? animationController,
  4. required SlidingUpPanelController panelController,
  5. OnSlidingUpPanelStatusChanged? onStatusChanged,
  6. VoidCallback? onTap,
  7. bool enableOnTap = true,
  8. double elevation = 0.0,
  9. SlidingUpPanelStatus panelStatus = SlidingUpPanelStatus.collapsed,
  10. double anchor = 0.5,
  11. OnSlidingUpPanelDragDown? dragDown,
  12. OnSlidingUpPanelDragCancel? dragCancel,
  13. OnSlidingUpPanelDragStart? dragStart,
  14. OnSlidingUpPanelDragUpdate? dragUpdate,
  15. OnSlidingUpPanelDragEnd? dragEnd,
})

Implementation

SlidingUpPanelWidget({
  required this.child,
  required this.controlHeight,
  this.animationController,
  required this.panelController,
  this.onStatusChanged,
  this.onTap,
  this.enableOnTap = true,
  this.elevation = 0.0,
  this.panelStatus = SlidingUpPanelStatus.collapsed,
  this.anchor = 0.5,
  this.dragDown,
  this.dragCancel,
  this.dragStart,
  this.dragUpdate,
  this.dragEnd,
});