next method

Future<void> next({
  1. bool animation = true,
})

Implementation

Future<void> next({bool animation = true}) {
  final e = event = NextIndexControllerEvent(animation: animation);
  notifyListeners();
  return e.future;
}