1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Eric Windmill
719fd72c38 Flutter 3.29 beta (#2571) 2025-02-12 18:08:01 -05:00
Brett Morgan
01036f81cb Veggie Seasons detail page update (#2425)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md

![Simulator Screenshot - iPhone 15 Pro - 2024-09-02 at 17 02
35](https://github.com/user-attachments/assets/186936f2-0098-4552-8c66-62f920ba0600)
2024-09-02 17:17:00 +10:00
Michael Thomsen
2bb837ea6e Update VeggieSeasons Settings screen to use CupertinoList (#2426)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2024-09-02 16:19:58 +10:00
Brett Morgan
bee21b55e6 Cleaning up Veggie Seasons (#2416)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2024-08-30 15:24:59 -04:00
Seth Ladd
f4e92d710d Update font to match Cupertino (#2410)
updating font to more closely align with system font

*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2024-08-29 10:59:36 +10:00
Brett Morgan
9e236813fe Fixups for master CI (#2118)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] 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
2023-12-21 15:30:25 +10:00
Miguel Beltran
715c4338f6 adding more named and explicit imports (#1909) 2023-06-28 06:27:20 +10:00
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
2023-06-23 13:24:11 +10:00
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>
2023-05-02 13:15:20 +10:00
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>
2023-02-24 08:18:03 +01:00
Brett Morgan
58bc5d7a58 Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key`

* `flutter format`
2022-05-13 12:31:56 -07:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
Miguel Beltran
03dbbcd667 Add window setup to veggie seasons (#1049) 2022-03-09 18:04:46 +11:00
Andrew Brogdon
664b63c03c Updates for 2.8! (#961) 2021-12-09 13:15:57 +10:00
Ahmed Ashour
29339b8334 Remove unneeded types (#949) 2021-11-03 09:58:12 -07:00
Brett Morgan
ac2bef7d83 veggieseasons: Migrate to null safety (#922) 2021-10-11 16:27:54 -07:00
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
2021-10-08 14:30:28 -07:00
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
Daco Harkes
a9482b18c2 [veggieseasons] Fix search backspace when no results (#766) 2021-03-12 09:20:38 +01:00
Tushar Ojha
99c18b18d7 Moved veggieseasons out of experimental (#752) 2021-03-08 20:25:15 +11:00
Michael Goderbauer
ed1503143e State Restoration support for Veggie Seasons app (#433) 2020-11-02 12:19:21 -08:00
Andrew Brogdon
d30bfd59ec Tweaking comment on search screen (#577) 2020-10-30 13:41:35 -07:00
kjain333
134b64bcad Fixed issue #278 by making list scrollable under search bar (#572) 2020-10-30 13:36:10 -07:00
Andrew Brogdon
9af31afec4 Updates for Flutter 1.22 (#559) 2020-10-01 11:14:27 -07:00
Filip Hracek
af0858b69d Veggie seasons update (#518) 2020-08-13 13:55:11 -07:00
Brett Morgan
baa1f976b2 Samples maintenance (#435) 2020-05-13 09:18:26 +10:00
Abdullah Deshmukh
d9c9b3a519 [VeggieSeasons] Fix dark mode problems (#395) 2020-03-30 21:55:00 -07:00
Ajay Singh
c37d74f417 addded overscroll in header section (#338) 2020-03-04 09:02:07 -08:00
Manasvi Patidar
738b0d9958 Veggieseasons - Fix feed scroll behind status bar (#337) 2020-03-02 10:08:50 -08:00
Andrew Brogdon
1ca27ce6db Added brightness setting (#340) 2020-02-26 14:28:33 -08:00
Jurgen Geitner
e171f543c3 Searchbar style fix (#326) 2020-02-25 14:00:57 -08:00
Brett Morgan
1d4848ab2d update android and ios, add macos and web (#237) 2020-01-15 04:32:14 +10:00
Brett Morgan
22f01ff4a6 Analysis options uplift to 1.8 (#169) 2019-11-22 11:12:35 +11:00
Andrew Brogdon
3d40fa9fb2 Tweaked pubspecs, linted. (#113) 2019-07-08 11:25:46 -07:00
Andrew Brogdon
4646f0fc8e Adds analysis options to Veggie Seasons (#98) 2019-07-01 10:26:50 -07:00
Andrew Brogdon
08beb69245 Updates veggieseasons to Dart 2.3, adds some minor UI updates (#88) 2019-06-10 09:47:09 -07:00
Filip Hracek
fa356540c6 Ensure flutter format and fix offending files (#80)
The current Travis script will only print offending files, but won’t fail the build. Added `--set-exit-if-changed` to fix that.

Also, simplified the call from using `grep` and `xargs` to simple `flutter format .`, which recurses directories.

Lastly, fixed offending files that needed `dartfmt`. (But not in the directories that aren’t covered by `travis_script.sh`.
2019-05-21 13:30:37 -07:00
Jon Tippens
edd51e019b Small text correction (#70) 2019-04-24 07:40:48 -07:00
xster
46a62e252b Make in-season and not-in-season cards different (#67) 2019-04-10 01:23:57 -07:00
xster
1ade80f948 translucent search tab bar (#68) 2019-04-09 16:24:35 -07:00
Andrew Brogdon
bf3a963bdc Adds season display to details screen. (#62) 2019-03-25 11:22:23 -07:00
Andrew Brogdon
673992f49e Adds rest of the trivia questions (#63) 2019-03-22 15:12:29 -07:00
Andrew Brogdon
526ee0602a Adds trivia to Veggie details screen (#61) 2019-03-22 08:32:44 -07:00
Andrew Brogdon
dcca6e44b2 Refactors detail view in advance of trivia (#60) 2019-03-20 15:59:59 -07:00
Abhijeeth Padarthi
8fe2999ee8 Removed redundant "const" and "new" assignments & Formatted code. (#58) 2019-03-19 09:27:32 -07:00
Andrew Brogdon
be35972637 Adding no-result display to search screen. (#57) 2019-03-18 08:41:16 -07:00
Andrew Brogdon
cf95d2c3a3 Adds semantic labels to images and modal close button (#56)
* Added semantic labels to images.

* Reverting project file.

* Semantic label for close button.
2019-03-14 14:45:15 -07:00
Andrew Brogdon
fe72ed957f Pressable veggie cards, new launcher icon, release metadata. (#54) 2019-03-14 13:42:26 -07:00
Andrew Brogdon
d123c32f29 Moves modal close button to left. (#55) 2019-03-13 13:16:42 -07:00