jumpToPosition method

void jumpToPosition(
  1. int position
)

Command the list to switch to the given position in a synchronous and immediate manner. There will be no animation. To animate, use animateToPosition instead.

Implementation

void jumpToPosition(int position) {
  feedback?.add(ControllerFeedback(ControllerCommandTypes.jumpToPosition,
      data: position));
}