pushDialog method
Push Dialog without passing context, enabling managing dialog push through controllers. Best used for dialogs to handle errors and failures.
Implementation
pushDialog(Widget Function(BuildContext) builder){
showDialog(context: context!, builder: builder);
}