, ),GoRoute( name:'another-one', path:'/another-one', pageBuilder:(context, state)=>GoFadeTransition(child:constAnotherOne())) ], ), ], ); }voidmain() {runApp(constMyApp()); }classMyAppextendsStatelessWidget{constMyApp({super.key});// This widget is the root of your application...
Just change the Navigator (uppercase) to navigator (lowercase), and you will have all the functions of the standard navigation, without having to use context Example: // Default Flutter navigator Navigator.of(context).push( context, MaterialPageRoute( builder: (BuildContext context) { return ...