I call Navigator pushReplacement to show a new view within my flutter app and want to immediately pop up a simple dialog to introduce the page to the user. (I want the user
Another way of doing it is using Timer.run(...)
Timer.run(...)
@override void initState() { super.initState(); // simply use this Timer.run(() { showDialog( context: context, builder: (_) => AlertDialog(title: Text("Dialog title")), ); }); }