pushModal static method
void
pushModal({
- required void onPop(),
Pushes a new modal to the navigation state.
Implementation
static void pushModal({required final void Function() onPop}) =>
_state!._pushModal(onPop: onPop);