-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#4201Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
Right now, ShellRoute does not support parentNavigatorKey. The behavior would be the same as GoRoute. For example, in this configuration, navigating to /a/b/c would place a new page on top of the root ShellRoute's page for routes b and c:
ShellRoute(
routes: [
GoRoute(
path: '/a',
routes: [
ShellRoute(
parentNavigatorKey: root
routes: [
GoRoute(
path: 'b'
routes: [
GoRoute(
path: 'c',
),
],
),
],
),
],
),
],
)Patrick386, mono0926, volzhs, donghyeon, SilverMira and 3 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.