文件最后提交记录最后更新时间
Remove unnecessary breaks in default clauses of switch statements (#7462) See https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de21 年前
[go_router] Add support for preloading branches of StatefulShellRoute (revised solution) (#6467) Adds support for preloading branches in a StatefulShellRoute. This functionality was initially part of an early implementation of flutter/packages#2650, however it was decided to implement this in a separate PR. The current implementation is a rewrite of the original implementation to better fit the final version of StatefulShellRoute (and go_router in general). **NOTE**: this is a revised version of the initial solution (see flutter/packages#4251), containing a substantially simpler implementation made possible thanks to recent refactoring in go_router. This fixes issue flutter/flutter#127804.1 年前
[go_router] Cleans up route match API and introduces dart fix (#3819) Clean up API around RouteMatch/RouteMatchList/GoRouterState, This is a breaking change that renamed some of the GoRouterState property to have a more descriptive name as flutter style guide suggested https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-abbreviations also introducing dart fix to help with migration3 年前
[go_router] Replaces uri related properties in GoRouterState (#4392) Replaces uri related field in GoRouterState, so that we don't need to mimic the API in uri. This also give developer the access to other field like http scheme(once supported) and fragment.2 年前
[various] Sync lints with flutter/flutter (#5717) Applying the latest analysis_options.yaml from flutter/flutter to this repo. Most fixes were auto-generated by dart fix.2 年前
[go_router] Add support for relative routes (#6825) Add supports for relative routes by allowing going to a path relatively, like go('./$path') This PR doesn't fully resolve any issue, but it's mandatory to further add examples & tests for TypedRelativeGoRoute (see [#7174](https://github.com/flutter/packages/pull/6823)), which will resolves [#108177](https://github.com/flutter/flutter/issues/108177)1 年前
[go_router] Adds onException to GoRouter constructor. (#4216) fixes https://github.com/flutter/flutter/issues/1081442 年前
[go_router] Cleans up route match API and introduces dart fix (#3819) Clean up API around RouteMatch/RouteMatchList/GoRouterState, This is a breaking change that renamed some of the GoRouterState property to have a more descriptive name as flutter style guide suggested https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-abbreviations also introducing dart fix to help with migration3 年前
[go_router] Add GoRouterState state parameter to GoRouterData.onExit (#6495) Part of https://github.com/flutter/flutter/issues/137394 I need to add the state parameter to the onExit method so I can use the factoryImpl(state): https://github.com/flutter/packages/blob/d4cd4f00254b2fdb50767c837ecd27bcbac488cd/packages/go_router/lib/src/route_data.dart#L100-L1182 年前
[various] Sync lints with flutter/flutter (#5717) Applying the latest analysis_options.yaml from flutter/flutter to this repo. Most fixes were auto-generated by dart fix.2 年前
[go_router] Refactored RouteMatchList and imperative APIs (#5497) This pr refactor RouteMatchList to be a tree structure. Added a common base class RouteMatchBase. It is extended by both RouteMatch and ShellRouteMatch. The RouteMatch is for GoRoute, and is always a leaf node The ShellRouteMatch is for ShellRouteBase, and is always and intermediate node with a list of child RouteMatchBase[s]. This pr also redo how push is processed. Will add a doc explain this shortly. This is a breaking change, will write a migration guide soon. fixes https://github.com/flutter/flutter/issues/134524 fixes https://github.com/flutter/flutter/issues/130406 fixes https://github.com/flutter/flutter/issues/126365 fixes https://github.com/flutter/flutter/issues/125752 fixes https://github.com/flutter/flutter/issues/120791 fixes https://github.com/flutter/flutter/issues/120665 fixes https://github.com/flutter/flutter/issues/113001 fixes https://github.com/flutter/flutter/issues/1105122 年前
[go_router] Adds onException to GoRouter constructor. (#4216) fixes https://github.com/flutter/flutter/issues/1081442 年前
[go_router] Fixes crashes when dynamically updates routing tables wit… (#5242) …h named routes. fixes https://github.com/flutter/flutter/issues/1371332 年前
[go_router] Fix a typo in a comment in the shell_route.dart (#8235) Fixed a typo in a comment in the shell_route.dart.1 年前
Access current location using uri.path to support deep links (#6474) This PR updates examples to use uri.path instead of uri.toString() for accessing the current location. While the examples don't use deep linking, promoting the usage of uri.toString() in the examples doesn't seem to be a good idea as it can lead to issues when it's used with deep links (It'll include host and scheme).2 年前
[go_router] Add support for preloading branches of StatefulShellRoute (revised solution) (#6467) Adds support for preloading branches in a StatefulShellRoute. This functionality was initially part of an early implementation of flutter/packages#2650, however it was decided to implement this in a separate PR. The current implementation is a rewrite of the original implementation to better fit the final version of StatefulShellRoute (and go_router in general). **NOTE**: this is a revised version of the initial solution (see flutter/packages#4251), containing a substantially simpler implementation made possible thanks to recent refactoring in go_router. This fixes issue flutter/flutter#127804.1 年前
[various] Align Flutter and Dart SDK constraints (#3349) As described in https://github.com/flutter/flutter/issues/121684, we currently have inconsistencies between Flutter SDK constraints and Dart SDK constraints; we have often updated only the former. This PR: 1. Adds CI enforcement via the repo tooling that the minimum versions are consistent. 2. Adds a new repo tooling command to update SDK constraints, to help mass-fix all the violations of the new enforcement in step 1 (and for future mass changes, such as when we update our test matrix and mass-drop support for versions that are no longe tested). - In all cases, the looser constraint was updated to match the more restrictive constraint, such that there's no actual change in what Flutter version any package actually supports. 3. Runs dart fix --apply over all changed packages to automatically fix all of the analysis failures caused by step 2 suddenly making all of our packages able to use super parameters. Fixes https://github.com/flutter/flutter/issues/121684 Fixes https://github.com/flutter/flutter/issues/1216853 年前