checkGoingUpDown method

bool checkGoingUpDown({
  1. Animation<double> animation = const AlwaysStoppedAnimation(0.0),
})

Implementation

bool checkGoingUpDown({
  Animation<double> animation = const AlwaysStoppedAnimation(0.0),
}) =>
    isGoingUpDown && animation.status != AnimationStatus.reverse;