S2ModalWillClose<T> typedef

S2ModalWillClose<T> = Future<bool> Function(T state)

Callback for event modal will close

Implementation

typedef S2ModalWillClose<T> = Future<bool> Function(T state);