startTransition method
void
startTransition(
- Beach beach,
- Beach previousBeach,
- BeachTransitionDirection direction,
- 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) {}