1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-31 08:44:26 +00:00
Files
samples/veggieseasons
John Ryan 14b9a8c4c4 Flutter 1.17 updates (#432)
* Material text theme updates & flutter pub upgrade (#411)

* Beta channel updates (#412)

* fix deprecated usages in provider_shopper - beta channel

* fix deprecated usages in animations - beta channel

* fix deprecated usages in provider_counter - beta

* Updates additional samples for beta release (#416)

* use headline6 instead of title

* fix another title -> headline6

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Co-authored-by: Andrew Brogdon <RedBrogdon@users.noreply.github.com>
2020-05-06 14:09:15 -07:00
..
2020-03-18 16:05:28 -07:00
2020-05-06 14:09:15 -07:00
2020-01-29 10:34:31 -08:00

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!

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