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.
samples/veggieseasons
Andrew Brogdon be35972637
Adding no-result display to search screen. (#57)
6 years ago
..
android Adds the start of a new sample showcasing Cupertino widgets. (#12) 6 years ago
assets Pressable veggie cards, new launcher icon, release metadata. (#54) 6 years ago
ios Pressable veggie cards, new launcher icon, release metadata. (#54) 6 years ago
lib Adding no-result display to search screen. (#57) 6 years ago
test Adds the start of a new sample showcasing Cupertino widgets. (#12) 6 years ago
.gitignore Adds the start of a new sample showcasing Cupertino widgets. (#12) 6 years ago
.metadata Adds the start of a new sample showcasing Cupertino widgets. (#12) 6 years ago
README.md Adds the start of a new sample showcasing Cupertino widgets. (#12) 6 years ago
pubspec.yaml Pressable veggie cards, new launcher icon, release metadata. (#54) 6 years ago

README.md

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 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.