isInteractive property

bool get isInteractive

Indicates whether the sheet can be closed interactively by dragging.

When set to false, gestures will not affect the sheet's height.

Implementation

bool get isInteractive => _isInteractive;
set isInteractive (bool value)

Implementation

set isInteractive(bool value) {
  _isInteractive = value;
  if (positions.isNotEmpty) {
    position.isInteractive = value;
  }
}