S2ModalWillOpen<T> typedef

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

Callback for event modal will open

Implementation

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