startTransition method

void startTransition(
  1. Beach beach,
  2. Beach previousBeach,
  3. BeachTransitionDirection direction,
  4. Animation<double> progress,
)

progress will animate between 0 and 1. It will always start at 0, and end either at 1 (when the transition completes) or at 0 (when the transition is cancelled).

Implementation

void startTransition(
    Beach beach, Beach previousBeach, BeachTransitionDirection direction, Animation<double> progress) {}