1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/veggieseasons
Miguel Beltran 8c06626190 Migrate veggieseasons to go_router (#1544)
* add go_router

* wip migration to go_router

* small fixes

* home screen cleanup

* remove unused

* small fixes

* details should be fullscreen dialog

* remove comment

* fix navigation outside the shell by using the correct navigation keys

* add restoration id to all pages

* test passing, but parts are commented out, wip

* uncommented more test code

* Add TODOs

* fix lint issues

* fix tests

* use FadeTransitionPage

* remove unnecessary builders

* FadeTransitionPage same as CustomTransitionPage

* add comments regarding relative routes

* add missing pageKey

* add missing const

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-02-24 08:18:03 +01:00
..
2022-05-28 07:01:26 +10:00
2021-12-09 13:15:57 +10:00
2021-07-14 16:56:11 -07: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.

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.