forwardWithDelay method

Future<void> forwardWithDelay(
  1. Duration delay
)

Animates with a delay before starting.

Example:

controller.forwardWithDelay(Duration(milliseconds: 500));

Implementation

Future<void> forwardWithDelay(Duration delay) async {
  await Future.delayed(delay);
  await forward();
}