1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-22 04:17:50 +00:00

Adds the start of a new sample showcasing Cupertino widgets. (#12)

This commit is contained in:
Andrew Brogdon
2018-08-31 15:08:33 -07:00
committed by GitHub
parent 9d5686ae13
commit 928c40c097
68 changed files with 1822 additions and 0 deletions

41
veggieseasons/README.md Normal file
View File

@@ -0,0 +1,41 @@
# 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).