pushDialog<T> method
- BuildContext context,
- Widget dialog
override
Pushes a dialog route onto the stack and waits for a result.
Implementation
@override
Future<T?> pushDialog<T>(BuildContext context, Widget dialog) {
return showDialog<T>(context: context, builder: (_) => dialog);
}