hide method

void hide()

隐藏动画

Hide animation.

Implementation

void hide() {
  if (!_animationController.isDismissed) {
    _animationController.reverse();
    notifyListeners(); // 通知监听者
  }
}