Tag:Jump without context

  • How to implement context free jump in fluent


    Background Navigator.of(context).push(MaterialPageRoute(builder: (context){ return DemoPage(); })); In the daily project development, we generally use the above method to push a new pageNavigator.of(context)To push or pop. Disadvantages: in this case, context must be passed in order to make use of itNavigator.of(context)To get the navigator state object, and then push or pop. If I want to push […]