setStoryPosition method

Future<void> setStoryPosition(
  1. int index
)

Sets the current slide to the provided index

  • index numeric value starting with 0 from the first slide

Implementation

Future<void> setStoryPosition(int index) async {
  await _methodChannel.invokeMethod<void>('setStoryPosition', index);
}