allowDrag property
bool?
get
allowDrag
Whether the overlay can be dragged. null keeps the widget default (true).
Implementation
bool? get allowDrag => _allowDrag;
set
allowDrag
(bool? value)
Implementation
set allowDrag(bool? value) {
if (_allowDrag == value) return;
_allowDrag = value;
notifyListeners();
}