-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[go_router] Nested stateful navigation with ShellRoute #2650
Commits on Sep 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fa4c542 - Browse repository at this point
Copy the full SHA fa4c542View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76b17ae - Browse repository at this point
Copy the full SHA 76b17aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7612a55 - Browse repository at this point
Copy the full SHA 7612a55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62574bd - Browse repository at this point
Copy the full SHA 62574bdView commit details -
Removed NestedNavigationShellRoute and replaced it with new field `ne…
…stedNavigationBuilder` on ShellRoute. Added unit test. Added reference to example in readme.
Configuration menu - View commit details
-
Copy full SHA for 850f41a - Browse repository at this point
Copy the full SHA 850f41aView commit details -
Conflicts: packages/go_router/CHANGELOG.md packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 1c04588 - Browse repository at this point
Copy the full SHA 1c04588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1db6bba - Browse repository at this point
Copy the full SHA 1db6bbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6028c90 - Browse repository at this point
Copy the full SHA 6028c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f2e995 - Browse repository at this point
Copy the full SHA 5f2e995View commit details -
Updated example to use nested ShellRoutes instead of creating nested …
…navigators manually. Renamed example file to stateful_nested_navigation.dart.
Configuration menu - View commit details
-
Copy full SHA for 461efd9 - Browse repository at this point
Copy the full SHA 461efd9View commit details -
Refactored support for nested stateful navigation - introduced new ro…
…ute class PartitionedShellRoute as well new base class (ShellRouteBase) shared with ShellRoute. Introduced new widget (StackedNavigationScaffold) for building stacked, stateful navigation based on an IndexStack, as well as factory constructor (stackedNavigation) for this on PartitionedShellRoute.
Configuration menu - View commit details
-
Copy full SHA for 0315e1a - Browse repository at this point
Copy the full SHA 0315e1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 510ec34 - Browse repository at this point
Copy the full SHA 510ec34View commit details -
Changed the way currentLocation is calculated since it currently does…
…n't seem possible to use GoRouterState for this (after performing pop at least). Made transitionDuration optional instead of using default value.
Configuration menu - View commit details
-
Copy full SHA for e82647a - Browse repository at this point
Copy the full SHA e82647aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e38fa32 - Browse repository at this point
Copy the full SHA e38fa32View commit details -
Renamed StackedNavigationScaffold to StackedNavigationShell.
Minor clean up, assertion and doc updates.
Configuration menu - View commit details
-
Copy full SHA for f38b9bf - Browse repository at this point
Copy the full SHA f38b9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f1dd7 - Browse repository at this point
Copy the full SHA 89f1dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a00a54 - Browse repository at this point
Copy the full SHA 3a00a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a6264 - Browse repository at this point
Copy the full SHA b0a6264View commit details -
Configuration menu - View commit details
-
Copy full SHA for b729d64 - Browse repository at this point
Copy the full SHA b729d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b3909f - Browse repository at this point
Copy the full SHA 3b3909fView commit details
Commits on Oct 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f0b2a1b - Browse repository at this point
Copy the full SHA f0b2a1bView commit details -
Introduced the method
navigatorKeyForChildRoute
on ShellRouteBase t……o simplify and make the way a navigator is fetched for a shell route more clean. Also removed the need to specify parentNavigatorKey for children of PartitionedShellRoute (navigatorKeys is now the source of truth for navigation keys). Added more asserts to PartitionedShellRoute and updated docs. Renamed field navigationKeys to navigatorKeys on PartitionedShellRoute.
Configuration menu - View commit details
-
Copy full SHA for eb6d4d3 - Browse repository at this point
Copy the full SHA eb6d4d3View commit details -
Added a canPop test for PartitionedShellRoute (by replacing a duplica…
…ted test for ShellRoute).
Configuration menu - View commit details
-
Copy full SHA for 016be76 - Browse repository at this point
Copy the full SHA 016be76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae26d7 - Browse repository at this point
Copy the full SHA 4ae26d7View commit details
Commits on Oct 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a9889a - Browse repository at this point
Copy the full SHA 4a9889aView commit details -
Updated documentation of PartitionedShellRoute with examples.
Minor changes to replace use of GoRoute with RouteBase in collections.
Configuration menu - View commit details
-
Copy full SHA for 1f3f01a - Browse repository at this point
Copy the full SHA 1f3f01aView commit details -
Updated documentation for builder and pageBuilder fields of ShellRout…
…eBase, to more correctly describe meaning of the child argument in the builder functions.
Configuration menu - View commit details
-
Copy full SHA for 3b38641 - Browse repository at this point
Copy the full SHA 3b38641View commit details -
Configuration menu - View commit details
-
Copy full SHA for d701ab5 - Browse repository at this point
Copy the full SHA d701ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6240d - Browse repository at this point
Copy the full SHA bb6240dView commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 245d47b - Browse repository at this point
Copy the full SHA 245d47bView commit details
Commits on Oct 7, 2022
-
Refactored PartitionedShellRoute and renamed to StatefulShellRoute.
StatefulShellRoute now always creates a Widget (StatefulNavigationShell) that manages then nested stateful navigators, and switching between them. Details around usage of IndexedStack for managing the stateful navigators are now also hidden.
Configuration menu - View commit details
-
Copy full SHA for bda571b - Browse repository at this point
Copy the full SHA bda571bView commit details -
Configuration menu - View commit details
-
Copy full SHA for da1ea0b - Browse repository at this point
Copy the full SHA da1ea0bView commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 59c19e7 - Browse repository at this point
Copy the full SHA 59c19e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 723de76 - Browse repository at this point
Copy the full SHA 723de76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c0a91d - Browse repository at this point
Copy the full SHA 4c0a91dView commit details
Commits on Oct 11, 2022
-
Removed animation support from StatefulNavigationShell and refactored…
… implementation for support for customizing branch navigator container. Refactoring (renaming) and documentation updates. Updated sample code with example of customization with animations.
Configuration menu - View commit details
-
Copy full SHA for 7556965 - Browse repository at this point
Copy the full SHA 7556965View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee9bde9 - Browse repository at this point
Copy the full SHA ee9bde9View commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e9a7029 - Browse repository at this point
Copy the full SHA e9a7029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59a6b05 - Browse repository at this point
Copy the full SHA 59a6b05View commit details
Commits on Oct 14, 2022
-
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation Resolved conflicts by bumping version to 5.2.0
Configuration menu - View commit details
-
Copy full SHA for 06ab1e9 - Browse repository at this point
Copy the full SHA 06ab1e9View commit details
Commits on Oct 22, 2022
-
Implemented equality in StatefulShellRouteState and ShellRouteBranchS…
…tate. Updated the way StatefulNavigationShell manages state. Some renaming of fields.
Configuration menu - View commit details
-
Copy full SHA for 1b877c8 - Browse repository at this point
Copy the full SHA 1b877c8View commit details
Commits on Oct 23, 2022
-
Documentation and api changes related to replacing the term "child route" with "sub-route". Removed the need for providing Navigator keys for branches in StatefulShellRoute (falling back to default value in ShellRouteBranch). Renamed field pageProvider to pageBuilder in StatefulShellRoute.
Configuration menu - View commit details
-
Copy full SHA for e542a05 - Browse repository at this point
Copy the full SHA e542a05View commit details
Commits on Oct 25, 2022
-
Removed field navigatorKeys from StatefulShellRoute and fixed issue w…
…ith assert (checkParentNavigatorKeys) of StatefulShellRoute in RouteConfiguration.
Configuration menu - View commit details
-
Copy full SHA for 2215a51 - Browse repository at this point
Copy the full SHA 2215a51View commit details -
Removed the use of top GoRouterState as a way of getting the current …
…location for a branch. Removed/hid redundant fields from StatefulShellRouteState and ShellRouteBranchState. Added function goToBranch to StatefulShellRouteState. Documentation updates.
Configuration menu - View commit details
-
Copy full SHA for b180653 - Browse repository at this point
Copy the full SHA b180653View commit details -
Updated example to use the default constructors of StatefulShellRoute…
… and also added a nested StatefulShellRoute with a TabBar.
Configuration menu - View commit details
-
Copy full SHA for 8fdfb82 - Browse repository at this point
Copy the full SHA 8fdfb82View commit details -
Added check when pushing a new route to ensure you cannot push a rout…
…e that is not a descendant of the current StatefulShellRoute branch. Minor corrections from PR feedback. Fixed broken tests.
Configuration menu - View commit details
-
Copy full SHA for 9240ea4 - Browse repository at this point
Copy the full SHA 9240ea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93bce8e - Browse repository at this point
Copy the full SHA 93bce8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20dc0c6 - Browse repository at this point
Copy the full SHA 20dc0c6View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 376e80f - Browse repository at this point
Copy the full SHA 376e80fView commit details
Commits on Oct 27, 2022
-
Added support for maintaining any extra navigation object passed to t…
…he current route of a route branch. Some documentation updates.
Configuration menu - View commit details
-
Copy full SHA for 2b2ff91 - Browse repository at this point
Copy the full SHA 2b2ff91View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5c9fe04 - Browse repository at this point
Copy the full SHA 5c9fe04View commit details -
Added assertion in RouteConfiguration for field defaultLocation of Sh…
…ellRouteBranch. Updated assertion when pushing descendants of StatefulShellRoute.
Configuration menu - View commit details
-
Copy full SHA for 81e1296 - Browse repository at this point
Copy the full SHA 81e1296View commit details -
Added field preloadBranches to StatefulShellRoute, to enable support …
…for preloading the root routes of the branches.
Configuration menu - View commit details
-
Copy full SHA for 59e3b66 - Browse repository at this point
Copy the full SHA 59e3b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8636bf8 - Browse repository at this point
Copy the full SHA 8636bf8View commit details -
Various updates from PR feedback:
- Moved builder and pageBuilder back to ShellRouteBase and updated docs of StatefulShellRoute and ShellRouteBase. - Updates in sample code (brought back animation example etc).
Configuration menu - View commit details
-
Copy full SHA for 1c509f1 - Browse repository at this point
Copy the full SHA 1c509f1View commit details
Commits on Oct 29, 2022
-
Changed the way switching between route branches works - switching is…
… now done by replacing the current RouteMatchList in GoRouterDelegate instead of navigating via GoRouter.go.
Configuration menu - View commit details
-
Copy full SHA for 42c7b7d - Browse repository at this point
Copy the full SHA 42c7b7dView commit details
Commits on Oct 30, 2022
-
Reverted restriction around pushing sub-routes of a StatefulShellRoute.
Unit test updates.
Configuration menu - View commit details
-
Copy full SHA for 62e7fc1 - Browse repository at this point
Copy the full SHA 62e7fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a7069a - Browse repository at this point
Copy the full SHA 9a7069aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae48ede - Browse repository at this point
Copy the full SHA ae48edeView commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 141fdc1 - Browse repository at this point
Copy the full SHA 141fdc1View commit details -
Reintroduced validation of defaultLocation of StatefulShellRoute (in …
…RouteConfiguration).
Configuration menu - View commit details
-
Copy full SHA for b6b289f - Browse repository at this point
Copy the full SHA b6b289fView commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/go_router.dart # packages/go_router/lib/src/builder.dart # packages/go_router/lib/src/delegate.dart # packages/go_router/lib/src/state.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 4d05d99 - Browse repository at this point
Copy the full SHA 4d05d99View commit details -
Removed replaceMatchList in GoRouterDelegate (using setNewRoutePath i…
…nstead). Some cleanup in RouteBuilder.
Configuration menu - View commit details
-
Copy full SHA for d4edd47 - Browse repository at this point
Copy the full SHA d4edd47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b9de47 - Browse repository at this point
Copy the full SHA 7b9de47View commit details
Commits on Nov 9, 2022
-
Updated ShellRouteBranch to accept list of routes instead of only a s…
…ingle rootRoute. Removed convenience constructor StatefulShellRoute.rootRoutes. Simplified ShellRouteBranchState a bit. Extended support for automatically finding the default route for a branch.
Configuration menu - View commit details
-
Copy full SHA for 703815c - Browse repository at this point
Copy the full SHA 703815cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f88928 - Browse repository at this point
Copy the full SHA 9f88928View commit details -
Renamed and changed signature of the navigator getters of StatefulShe…
…llRouteState/ShellRouteBranchState.
Configuration menu - View commit details
-
Copy full SHA for 5ca533d - Browse repository at this point
Copy the full SHA 5ca533dView commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for f5f0ecb - Browse repository at this point
Copy the full SHA f5f0ecbView commit details
Commits on Nov 18, 2022
-
Added temporary workaround due to duplication of encodedParams of Rou…
…teMatches in redirection.dart.
Configuration menu - View commit details
-
Copy full SHA for 4a2eac3 - Browse repository at this point
Copy the full SHA 4a2eac3View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/route.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for fc7bd54 - Browse repository at this point
Copy the full SHA fc7bd54View commit details
Commits on Nov 29, 2022
-
Refactoring of StatefulShellRoute to support dynamic branches, as wel…
…l as an attempt to simplify API/usage.
Configuration menu - View commit details
-
Copy full SHA for a65f9df - Browse repository at this point
Copy the full SHA a65f9dfView commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/builder.dart # packages/go_router/lib/src/configuration.dart # packages/go_router/lib/src/delegate.dart # packages/go_router/lib/src/matching.dart # packages/go_router/lib/src/redirection.dart # packages/go_router/lib/src/router.dart # packages/go_router/test/builder_test.dart
Configuration menu - View commit details
-
Copy full SHA for 816acb2 - Browse repository at this point
Copy the full SHA 816acb2View commit details
Commits on Nov 30, 2022
-
Introduced an internal branch Navigator proxy widget to make the API …
…simpler (always returning a concrete Widget for each branch). Added temporary workaround to get correct pop behaviour.
Configuration menu - View commit details
-
Copy full SHA for ee2a845 - Browse repository at this point
Copy the full SHA ee2a845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b82c5 - Browse repository at this point
Copy the full SHA 89b82c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90b9d62 - Browse repository at this point
Copy the full SHA 90b9d62View commit details
Commits on Dec 1, 2022
-
Reduced unnecessary rebuilds of child Widgets of StatefulShellRoute, …
…by caching branch Navigators. Added equality and hashcode to RouteMatchList and RouteMatch. Update stateful_shell_route.dart example with support (AppRouterProvider) for obtaining a reference to the GoRouter, without causing rebuilds.
Configuration menu - View commit details
-
Copy full SHA for 7392264 - Browse repository at this point
Copy the full SHA 7392264View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation.
Configuration menu - View commit details
-
Copy full SHA for c0253f6 - Browse repository at this point
Copy the full SHA c0253f6View commit details
Commits on Dec 2, 2022
-
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation. # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/builder.dart # packages/go_router/lib/src/delegate.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 2c4afa1 - Browse repository at this point
Copy the full SHA 2c4afa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 845c052 - Browse repository at this point
Copy the full SHA 845c052View commit details
Commits on Dec 8, 2022
-
Fixed issue in StatefulShellBranch.isBranchFor (accidental use of inc…
…orrect field of GoRouterState). Added unit tests for StatefulShellBranch.isBranchFor as well as for StatefulShellRouteState.goBranch. Fixed typos in documentation.
Configuration menu - View commit details
-
Copy full SHA for 193a267 - Browse repository at this point
Copy the full SHA 193a267View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/matching.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 37c4969 - Browse repository at this point
Copy the full SHA 37c4969View commit details -
Reverted workaround regarding pop.
Introduced UnmodifiableRouteMatchList (mostly due to mutability changes in RouteMatchList).
Configuration menu - View commit details
-
Copy full SHA for c562482 - Browse repository at this point
Copy the full SHA c562482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b5772 - Browse repository at this point
Copy the full SHA 38b5772View commit details -
Configuration menu - View commit details
-
Copy full SHA for db22bac - Browse repository at this point
Copy the full SHA db22bacView commit details
Commits on Dec 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d8d1641 - Browse repository at this point
Copy the full SHA d8d1641View commit details -
Additional rebuild improvement.
Added isLoaded getter to StatefulShellBranchState.
Configuration menu - View commit details
-
Copy full SHA for 4c4b7b0 - Browse repository at this point
Copy the full SHA 4c4b7b0View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for f08f548 - Browse repository at this point
Copy the full SHA f08f548View commit details
Commits on Dec 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6f1b047 - Browse repository at this point
Copy the full SHA 6f1b047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07ee030 - Browse repository at this point
Copy the full SHA 07ee030View commit details
Commits on Dec 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9ffff5c - Browse repository at this point
Copy the full SHA 9ffff5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d40ee - Browse repository at this point
Copy the full SHA e9d40eeView commit details
Commits on Dec 21, 2022
-
Update packages/go_router/CHANGELOG.md
Wording fix Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ea48cb - Browse repository at this point
Copy the full SHA 0ea48cbView commit details -
Update packages/go_router/CHANGELOG.md
Wording fix Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4abcaa9 - Browse repository at this point
Copy the full SHA 4abcaa9View commit details -
Update packages/go_router/CHANGELOG.md
Wording fix Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce23558 - Browse repository at this point
Copy the full SHA ce23558View commit details -
Update packages/go_router/lib/src/route.dart
Documentation wording fix Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 351ceb2 - Browse repository at this point
Copy the full SHA 351ceb2View commit details
Commits on Jan 5, 2023
-
Partially reverted the StatefulShellRoute API back to the previous so…
…lution with static branches.
Configuration menu - View commit details
-
Copy full SHA for 4cb0f1e - Browse repository at this point
Copy the full SHA 4cb0f1eView commit details -
Documentation updates and some renaming.
Minor cleanup/refactoring in RouteBuilder/StatefulNavigationShell.
Configuration menu - View commit details
-
Copy full SHA for e6a4f71 - Browse repository at this point
Copy the full SHA e6a4f71View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 873bf34 - Browse repository at this point
Copy the full SHA 873bf34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b668f8 - Browse repository at this point
Copy the full SHA 5b668f8View commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 565c3cd - Browse repository at this point
Copy the full SHA 565c3cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee1a8f - Browse repository at this point
Copy the full SHA 5ee1a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 358551f - Browse repository at this point
Copy the full SHA 358551fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9a2608 - Browse repository at this point
Copy the full SHA f9a2608View commit details
Commits on Feb 7, 2023
-
Alternative StatefulShellRoute implementation, were either a builder …
…or pageBuilder can be provided, much like ShellRoute/GoRoute, but with different parameters (StatefulShellFactory).
Configuration menu - View commit details
-
Copy full SHA for 87211aa - Browse repository at this point
Copy the full SHA 87211aaView commit details
Commits on Feb 16, 2023
-
Extracted construction of StatefulNavigationShell and Navigators out …
…from RouteBuilder. Also reduced interdependencies (from StatefulNavigationShell etc), primarily by using GoRouterState instead of RouteMatchList.
Configuration menu - View commit details
-
Copy full SHA for 257a272 - Browse repository at this point
Copy the full SHA 257a272View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/builder.dart # packages/go_router/lib/src/matching.dart # packages/go_router/lib/src/route.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 08148e5 - Browse repository at this point
Copy the full SHA 08148e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c18941f - Browse repository at this point
Copy the full SHA c18941fView commit details -
Refactored the builder methods of the shell route classes to improve …
…API ergonomics. Changed the way the branch child Widgets/Navigators are accessed, by adding the class ShellNavigatorContainer.
Configuration menu - View commit details
-
Copy full SHA for b1ce762 - Browse repository at this point
Copy the full SHA b1ce762View commit details
Commits on Feb 17, 2023
-
Updated StatefulShellRouteState.goBranch to only accept index for identifying branch.
Configuration menu - View commit details
-
Copy full SHA for 75e43d0 - Browse repository at this point
Copy the full SHA 75e43d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f54b4e - Browse repository at this point
Copy the full SHA 9f54b4eView commit details
Commits on Feb 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1226f44 - Browse repository at this point
Copy the full SHA 1226f44View commit details -
Updated handling of RouteMatch lookup for pages/routes (replaced Expa…
…ndo with new class PagePopContext).
Configuration menu - View commit details
-
Copy full SHA for 881be86 - Browse repository at this point
Copy the full SHA 881be86View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 6bbbd29 - Browse repository at this point
Copy the full SHA 6bbbd29View commit details
Commits on Feb 23, 2023
-
Add type annotation to listEquals
Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd5412f - Browse repository at this point
Copy the full SHA fd5412fView commit details
Commits on Feb 26, 2023
-
Moved RouteNavigatorBuilder into builder.dart and made private.
Made PagePopContext private.
Configuration menu - View commit details
-
Copy full SHA for a5234a6 - Browse repository at this point
Copy the full SHA a5234a6View commit details -
Moved StatefulNavigationShell and support classes into route.dart and…
… made private. Moved implementation details out of StatefulShellRouteState and StatefulShellBranchState, and into private implementation classes in route.dart. Reverted changes to GoRouterStateRegistry (no longer needed).
Configuration menu - View commit details
-
Copy full SHA for b9428cb - Browse repository at this point
Copy the full SHA b9428cbView commit details
Commits on Mar 8, 2023
-
Refactoring of StatefulShellRoute and related classes to simplify bui…
…lder/pageBuilder API (removed InheritedWidget and changed how StatefulShellRouteState is created and used).
Configuration menu - View commit details
-
Copy full SHA for ee047c8 - Browse repository at this point
Copy the full SHA ee047c8View commit details -
Re-introduced proper validation of parent Navigator keys for routes i…
…n StatefulShellBranch.
Configuration menu - View commit details
-
Copy full SHA for ddc71f0 - Browse repository at this point
Copy the full SHA ddc71f0View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 5041bea - Browse repository at this point
Copy the full SHA 5041beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01cce04 - Browse repository at this point
Copy the full SHA 01cce04View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9315373 - Browse repository at this point
Copy the full SHA 9315373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89341ef - Browse repository at this point
Copy the full SHA 89341efView commit details
Commits on Mar 13, 2023
-
Refactored state management for StatefulShellRoute.
Removed some obsolete code.
Configuration menu - View commit details
-
Copy full SHA for 2c298cd - Browse repository at this point
Copy the full SHA 2c298cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c22b53 - Browse repository at this point
Copy the full SHA 4c22b53View commit details
Commits on Mar 31, 2023
-
Moved branch state management back into StatefulShellRoute and simpli…
…fied API. Moved goBranch from GoRouter into StatefulNavigationShellState. Added support for proper state restoration to StatefulShellRoute. Added support for proper state restoration of imperatively pushed routes. Added support for saving and restoring push count for GoRouterDelegate.
Configuration menu - View commit details
-
Copy full SHA for a7d419f - Browse repository at this point
Copy the full SHA a7d419fView commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/delegate.dart # packages/go_router/pubspec.yaml # packages/go_router/test/test_helpers.dart
Configuration menu - View commit details
-
Copy full SHA for 7285788 - Browse repository at this point
Copy the full SHA 7285788View commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9983887 - Browse repository at this point
Copy the full SHA 9983887View commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/delegate.dart # packages/go_router/lib/src/parser.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for ad43837 - Browse repository at this point
Copy the full SHA ad43837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a83007 - Browse repository at this point
Copy the full SHA 3a83007View commit details
Commits on Apr 15, 2023
-
Update packages/go_router/lib/src/route.dart
Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec6722c - Browse repository at this point
Copy the full SHA ec6722cView commit details -
Update packages/go_router/lib/src/route.dart
Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9bb0da9 - Browse repository at this point
Copy the full SHA 9bb0da9View commit details -
Update packages/go_router/lib/src/route.dart
Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1c7a8f - Browse repository at this point
Copy the full SHA a1c7a8fView commit details
Commits on Apr 20, 2023
-
Removed StackedShellRouteState and moved functionality into StackedNa…
…vigationShell. Added navigatorContainerBuilder field to StackedShellRoute. Added locationForRoute to GoRouter (and RouteConfiguration). Various other refactoring due to review feedback.
Configuration menu - View commit details
-
Copy full SHA for 477b47c - Browse repository at this point
Copy the full SHA 477b47cView commit details -
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/builder.dart # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for 7f25f0c - Browse repository at this point
Copy the full SHA 7f25f0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f35636 - Browse repository at this point
Copy the full SHA 6f35636View commit details
Commits on Apr 28, 2023
-
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/pubspec.yaml
Configuration menu - View commit details
-
Copy full SHA for bb5c08f - Browse repository at this point
Copy the full SHA bb5c08fView commit details
Commits on Apr 29, 2023
-
Refactoring due to review feedback.
Re-introduced StatefulShellRoute as a base class for StackedShellRoute. Made effectiveInitialBranchLocation public. Removed _GoRouterDelegateRestorableProperties and _RestorablePushCount.
Configuration menu - View commit details
-
Copy full SHA for 16c095c - Browse repository at this point
Copy the full SHA 16c095cView commit details
Commits on May 1, 2023
-
Merge branch 'main' of github.com:flutter/packages into nested-persis…
…tent-navigation # Conflicts: # packages/go_router/CHANGELOG.md # packages/go_router/lib/src/delegate.dart # packages/go_router/lib/src/match.dart # packages/go_router/lib/src/matching.dart # packages/go_router/pubspec.yaml # packages/go_router/test/builder_test.dart # packages/go_router/test/matching_test.dart
Configuration menu - View commit details
-
Copy full SHA for a18a5a5 - Browse repository at this point
Copy the full SHA a18a5a5View commit details -
Removed matchListEquals from RouteMatchList and replaced with the now…
… available standard equality check. Exposed field route in StatefulNavigationShell and StatefulNavigationShellState, for more convenient access to the associated StatefulShellRoute.
Configuration menu - View commit details
-
Copy full SHA for abbd01b - Browse repository at this point
Copy the full SHA abbd01bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f36623 - Browse repository at this point
Copy the full SHA 0f36623View commit details
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 316cf8c - Browse repository at this point
Copy the full SHA 316cf8cView commit details -
Updated StatefulNavigationShell to only save the part of the RouteMat…
…chList that relates to the current Navigator and below. Removed obsolete field subRoute from ShellRouteContext.
Configuration menu - View commit details
-
Copy full SHA for 79a0c63 - Browse repository at this point
Copy the full SHA 79a0c63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3696448 - Browse repository at this point
Copy the full SHA 3696448View commit details
Commits on May 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 763b136 - Browse repository at this point
Copy the full SHA 763b136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f48831 - Browse repository at this point
Copy the full SHA 2f48831View commit details
Commits on May 10, 2023
-
Apply suggestions from code review
Review feedback Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 709ee7a - Browse repository at this point
Copy the full SHA 709ee7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7fd9e - Browse repository at this point
Copy the full SHA bb7fd9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eaf1af - Browse repository at this point
Copy the full SHA 9eaf1afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 527a806 - Browse repository at this point
Copy the full SHA 527a806View commit details
Commits on May 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 86a72e1 - Browse repository at this point
Copy the full SHA 86a72e1View commit details
Commits on May 18, 2023
-
Apply suggestions from code review
Co-authored-by: John Ryan <[email protected]> Co-authored-by: chunhtai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57b761f - Browse repository at this point
Copy the full SHA 57b761fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85fa0b6 - Browse repository at this point
Copy the full SHA 85fa0b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75c5e2 - Browse repository at this point
Copy the full SHA d75c5e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1c018 - Browse repository at this point
Copy the full SHA bd1c018View commit details
Commits on May 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c13cd71 - Browse repository at this point
Copy the full SHA c13cd71View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b1295 - Browse repository at this point
Copy the full SHA c7b1295View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f842ee - Browse repository at this point
Copy the full SHA 0f842eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80c396f - Browse repository at this point
Copy the full SHA 80c396fView commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 04b549a - Browse repository at this point
Copy the full SHA 04b549aView commit details