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.
|
5 years ago | |
---|---|---|
.. | ||
android | 5 years ago | |
assets | 6 years ago | |
ios | 5 years ago | |
lib | 5 years ago | |
test | 5 years ago | |
.gitignore | 5 years ago | |
.metadata | 6 years ago | |
README.md | 5 years ago | |
analysis_options.yaml | 5 years ago | |
pubspec.lock | 5 years ago | |
pubspec.yaml | 5 years ago |
README.md
Veggie Seasons
An app that shows which fruits and vegetables are currently in season. It showcases Flutter's Cupertino package.
Available now in the App Store!
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 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:
If you run into an issue with the sample itself, please file an issue in the main Flutter repo.