enableDrag property

bool enableDrag

If true, the bottom sheet can be dragged up and down and dismissed by swiping downwards.

If showDragHandle is true, this only applies to the content below the drag handle, because the drag handle is always draggable.

Default is true.

If this is true, the animationController must not be null. Use BottomSheet.createAnimationController to create one, or provide another AnimationController.


final bool enableDrag;