mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
6 years ago
|
# Veggie Seasons
|
||
|
|
||
|
An app that shows which vegetables are currently in season. It showcases
|
||
|
Flutter's Cupertino widgets, and nothing from Flutter's Material package
|
||
|
is included in the app.
|
||
|
|
||
|
**This sample is not currently in a finished state. We're in the process
|
||
|
of building it out.**
|
||
|
|
||
|
## 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).
|