end method
void
end()
Ends the drag operation.
Implementation
void end() {
_state = _state.copyWith(
isDragging: false,
delta: Offset.zero,
);
notifyListeners();
}
Ends the drag operation.
void end() {
_state = _state.copyWith(
isDragging: false,
delta: Offset.zero,
);
notifyListeners();
}