Open rnp0728 opened 8 months ago
Using push ElevatedButton( onPressed: () { context.router.push(AboutRoute(id: 'id', gender: "Male"),); }, child: const Text("About"), ),
ElevatedButton( onPressed: () { context.router.push(AboutRoute(id: 'id', gender: "Male"),); }, child: const Text("About"), ),
How can I pass thode params using pushNamed ElevatedButton( onPressed: () { context.router.pushNamed(RouteNames.aboutRoute); }, child: const Text("About"), ), In go route we have options like pathParameters & queryParamaters
ElevatedButton( onPressed: () { context.router.pushNamed(RouteNames.aboutRoute); }, child: const Text("About"), ),
GoRouter.of(context).pushNamed( context.read<ProvidersListCubit>().state.submoduleData?[0]['url'] ?? '', queryParameters: { 'businessId': encrypt(text: businessId ?? '', context: context), 'moduleId': context .read<ProvidersListCubit>() .state .submoduleData?[0]['moduleId'], 'bName': name, }, ).then(onGoBack);
In auto_route these is no such stuff, if there is anything please help me out!.
In Autoroute when we use popUntil why it isn't clearing the browser stack?
any update??
Using push
ElevatedButton( onPressed: () { context.router.push(AboutRoute(id: 'id', gender: "Male"),); }, child: const Text("About"), ),
How can I pass thode params using pushNamed
ElevatedButton( onPressed: () { context.router.pushNamed(RouteNames.aboutRoute); }, child: const Text("About"), ),
In go route we have options like pathParameters & queryParamatersIn auto_route these is no such stuff, if there is anything please help me out!.