close method

Future<void> close([
  1. T? result
])

Implementation

Future<void> close([T? result]) {
  return _controlledAnimation.forward(0, Curves.easeOutCubic).then((value) {
    widget.completer.complete(result);
  });
}