onHorizontalDragUpdate property Null safety
Called when the user scrolls to the left or to the right.
Implementation
GestureDragUpdateCallback? get onHorizontalDragUpdate => _onHorizontalDragUpdate;
Implementation
set onHorizontalDragUpdate(GestureDragUpdateCallback? value) {
if (_onHorizontalDragUpdate == value) {
return;
}
final bool hadHandler = _onHorizontalDragUpdate != null;
_onHorizontalDragUpdate = value;
if ((value != null) != hadHandler) {
markNeedsSemanticsUpdate();
}
}