Flutter Tips : Closing a dialog


Is it easy to close a alert dialog / Window in Flutter by issuing Nvaigator.pop method. It take the current context as argument, which help flutter to identify the window or widget you are using.

Navigator.pop(context);

May be you already know it.  

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.