scrollToOffset constant

SemanticsAction const scrollToOffset

A request to scroll the scrollable container to a given scroll offset.

The payload of this SemanticsAction is a flutter-standard-encoded Float64List of length 2 containing the target horizontal and vertical offsets (in logical pixels) the receiving scrollable container should scroll to.

This action is used by iOS Full Keyboard Access to reveal contents that are currently not visible in the viewport.

Implementation

static const SemanticsAction scrollToOffset = SemanticsAction._(
  _kScrollToOffsetIndex,
  'scrollToOffset',
);