changeOnDragState method
Changes the drag state to state
and notifies listeners if changed.
Implementation
void changeOnDragState(final bool state) {
if(state != onDrag) {
onDrag = state;
notifyListeners();
}
}
Changes the drag state to state
and notifies listeners if changed.
void changeOnDragState(final bool state) {
if(state != onDrag) {
onDrag = state;
notifyListeners();
}
}