ScrollerResolver typedef

ScrollerResolver = Scroller? Function(MissionStep step, UiSnapshot snapshot)

Given a step (typically scroll_to / scroll_and_highlight) and the current snapshot, return the Scroller the step should drive — or null when no scrollable can be resolved.

Implementation

typedef ScrollerResolver = Scroller? Function(
  MissionStep step,
  UiSnapshot snapshot,
);