jumpToIndex method
跳转至指定 index
Implementation
Future<void> jumpToIndex(int index,
{
/// 延迟计算跳转
Duration duration = const Duration(microseconds: 1),
double ruleOutSpacing = 0}) =>
_jumpToIndex(index,
delayedDuration: duration,
useAnimateTo: false,
ruleOutSpacing: ruleOutSpacing);