flutter

Flutter SimpleDialog wont pop

2018-04-02 01:06:45
			<div>MySimpleDialog wouldn't pop so I change my pop line from:</div>
	Navigator.pop();

to:

	Navigator.of(context, rootNavigator: true).pop();
Now it all works perfectly.
Brad Evans — Senior Software Engineer at Right Click
Written by Brad Evans

Need a reliable senior engineer in your corner?

I have 20+ years of experience building production software, leading engineering teams, and shipping mobile & web apps. No middle-men—just direct, pragmatic engineering.