onHorizontalDragUpdate property

GestureDragUpdateCallback? get onHorizontalDragUpdate

Called when the user scrolls to the left or to the right.

Implementation

GestureDragUpdateCallback? get onHorizontalDragUpdate => _onHorizontalDragUpdate;
set onHorizontalDragUpdate (GestureDragUpdateCallback? value)

Implementation

set onHorizontalDragUpdate(GestureDragUpdateCallback? value) {
  if (_onHorizontalDragUpdate == value) {
    return;
  }
  final bool hadHandler = _onHorizontalDragUpdate != null;
  _onHorizontalDragUpdate = value;
  if ((value != null) != hadHandler) {
    markNeedsSemanticsUpdate();
  }
}