goTo abstract method

Future<void> goTo({
  1. required int index,
  2. Duration delay,
  3. Duration duration,
  4. Curve curve,
})

Animate to the step index. If the current step index equals the provided step index nothing will happen.

Implementation

Future<void> goTo({
  required int index,
  Duration delay,
  Duration duration,
  Curve curve,
});