snapTo method

Future<void> snapTo(
  1. int index
)

Animates to the snap point at index. Does nothing when not attached, or on a wide layout where the sheet is a fixed side panel.

Implementation

Future<void> snapTo(int index) async => _state?._snapTo(index);