2183 Commits

Author SHA1 Message Date
b2a4157f80 [go_router] Go router v5 (#2612) go_router-v5.0.0 2022-09-19 19:27:25 +00:00
a1b59e7df0 [dynamic_layouts] Add a staggered grid layout example (#2559) 2022-09-19 18:59:01 +00:00
33554bab2f Fix an issue where GoRoutes with only a redirect were disallowed. (#2620) go_router-v4.5.1 2022-09-19 18:01:16 +00:00
9247f3e9c9 Roll Flutter from f146e90fbb19 to 99475b1b0bee (11 revisions) (#2619) 2022-09-19 15:24:46 +00:00
ecb005fcc9 [ci] Update Cirrus to macOS Ventura and Xcode 14 (#2604) 2022-09-19 12:12:25 +00:00
294451fa54 Roll Flutter from 5816d20b86b9 to f146e90fbb19 (4 revisions) (#2616) 2022-09-18 15:25:22 +00:00
d65b0e8106 Roll Flutter from 7714a8d034ad to 5816d20b86b9 (23 revisions) (#2615) 2022-09-17 15:25:29 +00:00
f2a9fdcb94 [dynamic_layouts] Added an example for wrap layout (#2550) 2022-09-16 21:43:08 +00:00
52f146cf8f Initialize flutter_migrate package (#2586) 2022-09-16 21:19:05 +00:00
dfa1e65d77 [go_router_builder] Adds support for enhanced enums. (#2395) go_router_builder-v1.0.12 go_router-v4.5.0 2022-09-16 20:34:42 +00:00
a6f1b33af4 [adaptive_scaffold] make lints_core happy. (#2602) flutter_adaptive_scaffold-v0.0.4 2022-09-16 20:33:27 +00:00
9c097c3f3b fix analyze error (#2611) 2022-09-16 16:09:11 -04:00
c3b436ccf0 [go_router] Add ShellRoute (#2453)
* Add ShellRoute support

* Address code review comments

- fix CHANGELOG
- remove TODO
- Use a Map to make navigator key algorithm O(n)
- rename navigatorKey and shellNavigatorKey to parentNavigatorKey and navigatorKey
- Make navigator key optional in build phase

* Add pageBuilder to ShellRoute

* Add child route to ShellRoute doc comment

* Apply suggestions from code review

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Remove path and other fields from ShellRoute, disable ShellRoute code

* Make ShellRoute not require a path

* Provide a unique pageKey for ShellRoute

* add copyright header

* Fix GoRouteMatch pageKey for ShellRoute

* Add test, fix sample, add restorationScopeId

* Simplify how pages are added to pagesForOutOfScopeNavigator

* Fix analysis warnings

* add Nested Navigation section to README

* format

* Remove redundant comment

* rename AppScaffold to ScaffoldWithNavBar

* add explanation to shell route example

* Throw error if push() contains a ShellRoute

* Handle pop correctly when there is a ShellRoute with one child.

* Fix popRoute implementation

* Fix conflicts with queryParametersAll feature

* format

* Apply suggestions from code review

* Update comments

* Update packages/go_router/README.md

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* update README

* Fix analysis issues

* Refactor _buildRecursive to use a Map

Co-authored-by: chunhtai <chunhtai@users.noreply.github.com>

* rename GoRouteMatch back to RouteMatch

* Add link to README

* Share code between buildPage and tryBuild

* use buildPages in tryBuild

* Insert shell route key instead of merging maps

* Throw an exception if child is null

* make buildPageForRoute private

* make callRouteBuilder private

* thow exception instead of error

* Add _PageBuilderForAppType typedef

* make buildErrorNavigator private

* make buildErrorPage private

* make RouteBuilderException and RouteBuilderError private

* use i-=1 instead of i--

* opt out of null safety for navigatorKey.currentState

* Revert rename to GoRouterState subloc and fullpath

* Add ignore: unused_element

* Rename to _debugAssertNotEmpty

* Throw exception if top route is not a GoRoute during redirection

* Move docstring to class

* Use a single sentence for the first line of ShellRoute doc comment

* Add sample code for ShellRoute

* [go_router] Fix named routing when using ShellRoutes

* [go_router] Add `buildPageWithState` (#2444)

* Assert ShellRoute sub-routes are not empty

* Add Android back button test for ShellRoute

* Add canPop tests

* Add configuration test for navigator keys

* fix analysis warnings

* Update pubspec.yaml

* Add link to ShellRoute API documentation

* Remove RouteConfigurationError, use assertions instead

* Add test for empty ShellRoute with empty routes list

* Assert that parentNavigatorKey configuration is correct

* Update canPop and maybePop, add a test

* Use assert for asserting the last route match contains a GoRoute

* use variable for last GoRoute in match list

* format

* Use assert when shellroute has no children

* Move log out of assert

* use assert for configuration checks

* Add test

* remove RedirectionException

* move GoError to separate file

* Add newline

* Update ShellRouteBuilder doc comment

* Update ShellRoutePageBuilder doc comment

* Check that ShellRoute children are a GoRoute and contain parentNavigatorKey

* Remove late keyword

* Add copyright header

* remove RouteMatcher.canPop()

* wrap calls to canPop in an assert

* assert that no GoRoute ancestor has a different parentNavigatorKey

* Fix algorithm for checking parent navigator keys

* Fix valid configuration test

* Fix incorrect parentNavigatorKey in test

* Fix overlapping parentNavigatorKey assertions

* Remove unused variable

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
Co-authored-by: chunhtai <chunhtai@users.noreply.github.com>
Co-authored-by: Jonathan Friesen <jonathanfriesen@gmail.com>
Co-authored-by: Valentin Vignal <32538273+ValentinVignal@users.noreply.github.com>
2022-09-16 09:35:20 -07:00
6bd9c7fdbd [go_router_builder] Replace mentions of deprecated buildPage with buildPageWithState (#2535) go_router_builder-v1.0.11 2022-09-15 22:43:03 +00:00
59b75ee763 Roll Flutter from 4e8a28d29db7 to 9c0901ed63d0 (25 revisions) (#2603) 2022-09-15 15:26:05 +00:00
d4e6961548 [cross_file] Dartdoc correction for readAsBytes and readAsString (#2415) cross_file-v0.3.3+2 2022-09-15 01:18:53 +00:00
11a7a40cc3 Rename adaptive_scaffold to flutter_adaptive_scaffold (#2600)
Merging on red, since the tree is red because `adaptive_scaffold` isn't a package we have permission to push.
flutter_adaptive_scaffold-v0.0.3
2022-09-14 15:21:29 -07:00
852aa808fd [adaptive_scaffold] Release adaptive_scaffold package (#2545) 2022-09-14 17:15:05 +00:00
71368eca87 Roll Flutter from bbc42632a084 to 4e8a28d29db7 (29 revisions) (#2599) 2022-09-14 15:53:05 +00:00
36bf3233ac Roll Flutter (stable) from 4f9d92fbbdf0 to e3c29ec00c9c (3 revisions) (#2598) 2022-09-14 15:24:33 +00:00
72820b7706 [flutter_markdown] Fix horizontal sizing of lists in MarkdownBody (#2413) flutter_markdown-v0.6.12 2022-09-14 14:31:13 +00:00
daa78d02e3 Roll Flutter from d925a913c4f2 to bbc42632a084 (20 revisions) (#2597) 2022-09-13 17:16:34 +00:00
c9626e143d 4f9d92fbb Update engine version for 3.3.1 version. (flutter/flutter#111057) (#2580) 2022-09-13 10:59:57 -04:00
6459998d8c [flutter_markdown] Remove TaskListSyntax and rely on markdown native checkbox support - Fixes https://github.com/flutter/flutter/issues/107871 (#2338) flutter_markdown-v0.6.11 2022-09-13 13:58:19 +00:00
950a40f42f [adaptive_scaffold] Clean up adaptive_scaffold package (#2558) 2022-09-12 20:15:39 -07:00
3a6cdca0d8 Fix bug in scorecard-action workflow (#2595) 2022-09-13 01:46:18 +00:00
cdefa74202 Roll Flutter from 4930444f4afe to d925a913c4f2 (9 revisions) (#2594) 2022-09-13 01:19:33 +00:00
6d2f192631 [flutter_markdown] remove print statements when not handling alignment (#2499) flutter_markdown-v0.6.10+6 2022-09-12 19:04:50 +00:00
483df53734 Roll Flutter from ad946f8478bf to 4930444f4afe (31 revisions) (#2588) 2022-09-12 19:03:55 +00:00
7d21d5976c [pigeon] added macos swift support (#2587) pigeon-v4.0.3 2022-09-12 11:26:51 -07:00
7d222a01eb Revert "Bump ossf/scorecard-action from 1.1.2 to 2.0.0 (#2584)" (#2592)
This reverts commit b3f5db86bfa26a3a98e31a173b729ca36693493c.
2022-09-12 10:49:22 -07:00
ab42df87cf Revert "Bump ossf/scorecard-action from 2.0.0 to 2.0.3 (#2591)" (#2593)
This reverts commit ba5c8dd7076708ff208c067375c4ab26ff197cf4.
2022-09-12 10:44:37 -07:00
ba5c8dd707 Bump ossf/scorecard-action from 2.0.0 to 2.0.3 (#2591) 2022-09-12 17:06:21 +00:00
b3f5db86bf Bump ossf/scorecard-action from 1.1.2 to 2.0.0 (#2584) 2022-09-10 01:59:49 +00:00
6283c858bf Roll Flutter from fc444aedab12 to ad946f8478bf (20 revisions) (#2585) 2022-09-09 15:23:59 +00:00
5293d0ff03 [misc] Fix OpenSSF Scorecard link. (#2583) 2022-09-09 01:59:49 +00:00
6df723ca4c [ci] Split android-platform_tests in 2 shards (#2577) 2022-09-08 22:51:10 +00:00
ba3a5202ba [go_router] Don't clear listeners when logging is disabled (#2533) go_router-v4.4.1 2022-09-08 22:24:14 +00:00
ba51afa9fd Roll Flutter from 58ec4839159e to fc444aedab12 (32 revisions) (#2582) 2022-09-08 16:34:05 +00:00
ea27933dda Documentation was incorrect for large secondary body. It was a duplic… (#2576) 2022-09-07 18:12:51 +00:00
c2a064c1b7 Roll Flutter from 759d0e1b20c1 to 58ec4839159e (93 revisions) (#2579) 2022-09-07 15:43:56 +00:00
9a994ecbe4 [adaptive_scaffold] Fix typo seconary -> secondary (#2569) 2022-09-06 21:41:15 +00:00
7c75b02f33 [go_router] Add buildPageWithState (#2444) 2022-09-06 21:32:50 +00:00
0f0671a962 [ci] Increase Linux bot memory (#2575) 2022-09-06 21:06:29 +00:00
be97f92e05 [dynamic_layouts] Added the example template (#2539) 2022-09-02 18:49:47 +00:00
84d89af228 Run scorecards only on pushes to main. (#2546)
* Run scorecards only on pushes to main.

This is to prevent the workflow from failing when running in branches
with no previous data to compare.

It also adds the scorecard badge to the README file.

* Add timeout and run_if to ci_yaml_roller.
2022-09-02 11:23:41 -07:00
fa9b71a3da Roll Flutter from f66a09791920 to 759d0e1b20c1 (56 revisions) (#2541) 2022-09-01 15:41:27 +00:00
71aed3e995 Delete fuchsia_ctl package (#2528) 2022-08-31 21:39:41 +02:00
3a48ebc1e4 [dynamic_layouts] Add Staggered Layout (#2520)
* Added SliverGridStaggeredTileLayout and staggered constructor for DynamicGridView

* Added documentation, tests and bug fixes for DynamicSliverGridGeometry and others

* Added simple demo and fixed formating

* Added copyright

* Fixed formatting

* Added const constructor to DynamicSliverGridDelegateWithFixedCrossAxisCount

* Updated tests with new sizes

* Updated readme

* Fixed formatting and documentation

* Modified types and functionality for main axis counts and extents

* Updated readme

* Added test

* Fixed TODO

* Fixed readme

* Added example (needed for code excerpts)

* Added build_runner

* Test excerpts

* Changed sdk version for example

* Changed sdk version again

* Removed example

* Removed assets

* Final rebase

* Formatting

* Formatting

* Fixed test

Co-authored-by: Luis López <davidlopezm@google.com>
2022-08-31 12:59:14 -05:00
cf3f676f47 [dynamic_layout] Reland Wrap layout (#2537) 2022-08-31 16:55:01 +00:00