enableDrag property

bool enableDrag
final

Specifies whether the bottom sheet can be dragged up and down and dismissed by swiping downwards.

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

This applies to the content below the drag handle, if showDragHandle is true.

Defaults is true.

Implementation

final bool enableDrag;