-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed as not planned
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
The current implementation of namedLocation uses asserts and isn't tested. We should simplify or deprecate this API. It's not doing anything related to routing, and users can implement their own map from named locations to paths on their own using a Map. Another option is to use typed routes with go_router_builder instead of this API.
Context: flutter/packages#2317 (comment)
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.