dismissWithAnimation method

Future<void> dismissWithAnimation()

Implementation

Future<void> dismissWithAnimation() async {
  try {
    await _controller.reverse();
  } catch (_) {
    // The manager still removes the overlay if animation is interrupted.
  }
}