SlidingUpPanelWidget constructor
SlidingUpPanelWidget({
- required Widget child,
- required double controlHeight,
- AnimationController? animationController,
- required SlidingUpPanelController panelController,
- OnSlidingUpPanelStatusChanged? onStatusChanged,
- VoidCallback? onTap,
- bool enableOnTap = true,
- double elevation = 0.0,
- SlidingUpPanelStatus panelStatus = SlidingUpPanelStatus.collapsed,
- double anchor = 0.5,
- double upperBound = 1.0,
- double minimumBound = 0.0,
- OnSlidingUpPanelDragDown? dragDown,
- OnSlidingUpPanelDragCancel? dragCancel,
- OnSlidingUpPanelDragStart? dragStart,
- OnSlidingUpPanelDragUpdate? dragUpdate,
- 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.upperBound = 1.0,
this.minimumBound = 0.0,
this.dragDown,
this.dragCancel,
this.dragStart,
this.dragUpdate,
this.dragEnd,
}) : assert(upperBound >= minimumBound);