onScrollRight property

VoidCallback? onScrollRight

The handler for SemanticsAction.scrollRight.

This is the semantic equivalent of a user moving their finger across the screen from left to right. It should be recognized by controls that are horizontally scrollable.

VoiceOver users on iOS can trigger this action by swiping right with three fingers. TalkBack users on Android can trigger this action by swiping left and then right in one motion path. On Android, onScrollDown and onScrollRight share the same gesture. Therefore, only on of them should be provided.


VoidCallback? get onScrollRight => _onScrollRight;
void onScrollRight=(VoidCallback? value)


set onScrollRight(VoidCallback? value) {
  _addArgumentlessAction(SemanticsAction.scrollRight, value!);
  _onScrollRight = value;