Miguel Beltran
93db48966c
Explicit import for Platform and kIsWeb ( #1898 )
...
Following the ideas in flutter/website#7798 I have changed the imports
needed for Platform and kIsWeb to be explicitly named.
## Pre-launch Checklist
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].
<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2 years ago
dependabot[bot]
33bcb165b9
Bump go_router from 6.5.9 to 7.0.0 in /veggieseasons ( #1762 )
...
Bumps
[go_router](https://github.com/flutter/packages/tree/main/packages ) from
6.5.9 to 7.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b01736711c
"><code>b017367</code></a>
[go_router] Cleans up route match API and introduces dart fix (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3819 ">#3819</a>)</li>
<li><a
href="2f95ecda81
"><code>2f95ecd</code></a>
[camerax] Add <code>LifecycleOwner</code> Proxy (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3837 ">#3837</a>)</li>
<li><a
href="815cfca847
"><code>815cfca</code></a>
[file_selector] Add getDirectoryPaths implementation for Windows (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3704 ">#3704</a>)</li>
<li><a
href="6dc28c9c3f
"><code>6dc28c9</code></a>
[various] Update Android example min SDKs (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3847 ">#3847</a>)</li>
<li><a
href="1a90429ac1
"><code>1a90429</code></a>
[camerax] Implement Image Streaming (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3454 ">#3454</a>)</li>
<li><a
href="124e330a2b
"><code>124e330</code></a>
[various] update agp and gradle for all examples in packages (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3822 ">#3822</a>)</li>
<li><a
href="c71747df2c
"><code>c71747d</code></a>
Update xcode to 14c18 (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3774 ">#3774</a>)</li>
<li><a
href="3dc59f914d
"><code>3dc59f9</code></a>
[camera_android] Add NV21 as an image stream format <a
href="https://github.com/flutter/packages/tree/main/packages/issues/3277 ">#3277</a>
(<a
href="https://github.com/flutter/packages/tree/main/packages/issues/3639 ">#3639</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/go_router-v7.0.0/packages ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go_router&package-manager=pub&previous-version=6.5.9&new-version=7.0.0 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2 years ago
Miguel Beltran
8c06626190
Migrate `veggieseasons` to `go_router` ( #1544 )
...
* add go_router
* wip migration to go_router
* small fixes
* home screen cleanup
* remove unused
* small fixes
* details should be fullscreen dialog
* remove comment
* fix navigation outside the shell by using the correct navigation keys
* add restoration id to all pages
* test passing, but parts are commented out, wip
* uncommented more test code
* Add TODOs
* fix lint issues
* fix tests
* use FadeTransitionPage
* remove unnecessary builders
* FadeTransitionPage same as CustomTransitionPage
* add comments regarding relative routes
* add missing pageKey
* add missing const
---------
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2 years ago
Brett Morgan
58bc5d7a58
Deps update, utilize `super.key` ( #1265 )
...
* Deps update, utilize `super.key`
* `flutter format`
3 years ago
Miguel Beltran
03dbbcd667
Add window setup to veggie seasons ( #1049 )
3 years ago
Brett Morgan
ac2bef7d83
`veggieseasons`: Migrate to null safety ( #922 )
3 years ago
Brett Morgan
e2e2713986
Enforce `use_key_in_widget_constructors` and `file_names` lints ( #913 )
...
* Start enforcing use_key_in_widget_constructors and file_names lints
* dart format
* analysis fixes
* analysis fixes, pt2
* analysis fixes, part 3
* Revert platform_design (test failure)
* More reverts
* Notate why we aren't enforcing a lint
3 years ago
Brett Morgan
936d1fdaae
Upgrading samples to flutter_lints, part 1 of n ( #804 )
4 years ago
Tushar Ojha
99c18b18d7
Moved veggieseasons out of experimental ( #752 )
4 years ago
Michael Goderbauer
ed1503143e
State Restoration support for Veggie Seasons app ( #433 )
4 years ago
Filip Hracek
af0858b69d
Veggie seasons update ( #518 )
4 years ago
Abdullah Deshmukh
d9c9b3a519
[VeggieSeasons] Fix dark mode problems ( #395 )
5 years ago
Andrew Brogdon
1ca27ce6db
Added brightness setting ( #340 )
5 years ago
Brett Morgan
1d4848ab2d
update android and ios, add macos and web ( #237 )
5 years ago
Andrew Brogdon
fe72ed957f
Pressable veggie cards, new launcher icon, release metadata. ( #54 )
6 years ago
Andrew Brogdon
bfb8b8aea9
Adds new image assets, card-style list, and new data for the veggies ( #38 )
6 years ago
Andrew Brogdon
0675b1f774
Adds model layer and list view to veggieseasons. ( #13 )
6 years ago
Andrew Brogdon
928c40c097
Adds the start of a new sample showcasing Cupertino widgets. ( #12 )
6 years ago