enableDrag property

bool enableDrag
final

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.

Implementation

final bool enableDrag;