Description
Currently, we could navigate pages through asset path and route name but does not support GoRouter. SInce GoRouter is growing fast, it would be nice to support it as well.
Requirements
Add a new action type (e.g., go_router_navigate) or update the existing Maps action to support GoRouter methods.
Support passing pathParameters and queryParameters.
Support both context.go() (replace stack) and context.push() (add to stack).
{
"actionType": "navigate",
"navigationType": "go", // or "push"
"route": "/product/:id",
"pathParameters": {
"id": "123"
},
"queryParameters": {
"ref": "promo_code"
}
}
Description
Currently, we could navigate pages through asset path and route name but does not support GoRouter. SInce GoRouter is growing fast, it would be nice to support it as well.
Requirements
Add a new action type (e.g., go_router_navigate) or update the existing Maps action to support GoRouter methods.
Support passing pathParameters and queryParameters.
Support both context.go() (replace stack) and context.push() (add to stack).
{
"actionType": "navigate",
"navigationType": "go", // or "push"
"route": "/product/:id",
"pathParameters": {
"id": "123"
},
"queryParameters": {
"ref": "promo_code"
}
}