runScaleTransition method

Future runScaleTransition({
  1. required bool reverse,
})

Implementation

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