I've got;
screen/widget
Home()which calls;screen/widget
MainStage()which calls;future method
futureStage()which builds;PageViewBuilder
StageBuilder()which contains;
SwipeGestureRecognizer which calls;
Navigator.push (context,
PageTransition(
type: PageTransitionType.downToUp,
child: HomeReply(),
));
HomeReply()contains;appBarwith an arrow/button that allows the user to;Navigator.pop(context);
How do I get the Navigator to pop back to Home()?
Turns out HomeReply() had an extra MaterialApp in the build. Once I removed this it all worked as normal with
Navigator.pop(context);.