Future runScaleTransition({required bool reverse}) { if (reverse) { return animationController.reverse(); } else { return animationController.forward(from: 0.0); } }