returnAndPush method
void
returnAndPush(
- dynamic value
This is custom method to pass returning value while popping the page. It can be considered as an example
Implementation
void returnAndPush(dynamic value) {
_pages.removeLast();
_uris.removeLast();
_boolResultCompleter.complete(value);
notifyListeners();
}