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

Moved veggieseasons out of experimental (#752)

This commit is contained in:
Tushar Ojha
2021-03-08 14:55:15 +05:30
committed by GitHub
parent 51ebc7e0bf
commit 99c18b18d7
136 changed files with 44 additions and 56 deletions

View File

@@ -1,42 +1,4 @@
# Veggie Seasons
An iOS app that shows which fruits and vegetables are currently in season. It
showcases Flutter's Cupertino package.
[Available now in the App Store!](https://itunes.apple.com/is/app/veggie-seasons/id1450855435)
**NOTE:** While Flutter supports many platforms, this application is designed
specifically for iOS. It's not intended to be run on Android, web, or desktop.
## Goals
* Show how to build an interface that iOS users will feel right at home
with.
* Show how Flutter's Cupertino widgets work together.
## The important bits
### `/screens/*`
These are the screens presented in the app, roughly analogous to
UIViewControllers. `HomeScreen` is the root, and the others are shown
as the user navigates.
### `/widgets/search_bar.dart`
An example of how to construct an Cupertino-style search bar. The
Flutter team [is working on an official widget](https://github.com/flutter/flutter/issues/9784)
for this. Once that effort is complete, developers will not need to roll
their own search bars, so to speak.
## Questions/issues
If you have a general question about any of the techniques you see in
the sample, the best places to go are:
* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev)
* [The Flutter Gitter channel](https://gitter.im/flutter/flutter)
* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
If you run into an issue with the sample itself, please file an issue
in the [main Flutter repo](https://github.com/flutter/flutter/issues).
The [Veggie Seasons](https://github.com/flutter/samples/tree/master/veggieseasons) app has been moved out of the experimental
directory of this repository as it now works on stable channel of Flutter.

View File

@@ -30,8 +30,8 @@ declare -ar PROJECT_NAMES=(
# "experimental/federated_plugin/federated_plugin" \
"null_safety/null_safe_app" \
"null_safety/null_unsafe_app" \
"experimental/veggieseasons" \
"experimental/web_dashboard" \
"veggieseasons" \
)
for PROJECT_NAME in "${PROJECT_NAMES[@]}"

View File

@@ -32,8 +32,8 @@ declare -ar PROJECT_NAMES=(
# "experimental/federated_plugin/federated_plugin" \
"null_safety/null_safe_app" \
"null_safety/null_unsafe_app" \
"experimental/veggieseasons" \
"experimental/web_dashboard" \
"veggieseasons" \
)
for PROJECT_NAME in "${PROJECT_NAMES[@]}"

View File

@@ -23,8 +23,7 @@ declare -ar PROJECT_NAMES=(
"testing_app" \
"null_safety/null_safe_app" \
"null_safety/null_unsafe_app" \
# TODO(goderbauer): Add veggieseasons back when moved out of experimental again.
# "veggieseasons" \
"veggieseasons" \
)
for PROJECT_NAME in "${PROJECT_NAMES[@]}"

View File

@@ -1,15 +1,42 @@
# Veggie Seasons
The Veggie Seasons app has temporarily been moved to the
[experimental](https://github.com/flutter/samples/tree/master/experimental/veggieseasons)
directory of this repository due to the integration of state restoration into
the app. Not all features of state restoration are available on the stable
channel of flutter yet. Once commit
[flutter/flutter@053ebf2](https://github.com/flutter/flutter/commit/053ebf2c080c7b8efbf4020683a5ba27d9daa3b8)
has reached the stable channel, the app can move back to its old home in
this directory.
An iOS app that shows which fruits and vegetables are currently in season. It
showcases Flutter's Cupertino package.
For more info on how to run the samples in the `experimental` directory,
see the
[README](https://github.com/flutter/samples/tree/master/experimental/README.md)
in that folder.
[Available now in the App Store!](https://itunes.apple.com/is/app/veggie-seasons/id1450855435)
**NOTE:** While Flutter supports many platforms, this application is designed
specifically for iOS. It's not intended to be run on Android, web, or desktop.
## Goals
* Show how to build an interface that iOS users will feel right at home
with.
* Show how Flutter's Cupertino widgets work together.
## The important bits
### `/screens/*`
These are the screens presented in the app, roughly analogous to
UIViewControllers. `HomeScreen` is the root, and the others are shown
as the user navigates.
### `/widgets/search_bar.dart`
An example of how to construct an Cupertino-style search bar. The
Flutter team [is working on an official widget](https://github.com/flutter/flutter/issues/9784)
for this. Once that effort is complete, developers will not need to roll
their own search bars, so to speak.
## Questions/issues
If you have a general question about any of the techniques you see in
the sample, the best places to go are:
* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev)
* [The Flutter Gitter channel](https://gitter.im/flutter/flutter)
* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
If you run into an issue with the sample itself, please file an issue
in the [main Flutter repo](https://github.com/flutter/flutter/issues).

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB

View File

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 210 KiB

View File

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 155 KiB

View File

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 305 KiB

View File

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB

View File

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 281 KiB

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

View File

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 111 KiB

View File

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View File

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 271 KiB

View File

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 187 KiB

View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

View File

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View File

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View File

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 115 KiB

View File

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View File

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

View File

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 214 KiB

View File

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 225 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 274 KiB

After

Width:  |  Height:  |  Size: 274 KiB

View File

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

View File

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

View File

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Some files were not shown because too many files have changed in this diff Show More