Crane Study

← App map · A travel study with three tabs — Fly, Sleep, Eat — each a search form over a sheet of destination cards.

Screenshots scroll sideways · tap to enlarge

What it does

Crane is a single-route MaterialApp at /crane whose screen is a backdrop with three tabs in the app bar: FLY, SLEEP and EAT. Each tab has a search form in the back layer — Fly asks for travelers, origin, destination and dates; Sleep for travelers, dates and location; Eat for diners, date, time and location — shown in an IndexedStack, so only the selected form is focusable. In front of it sit three sheets of destination cards (14 flights, 12 places to stay, 11 restaurants) side by side: switching tabs animates the tab controller over 300 ms and slides all three sheets sideways together, with a 5 % gap between them, and the middle Sleep sheet sits 60 pt higher than the other two. Each card shows a photo, the destination and a subtitle such as the number of stops and flight time, the number of available properties, or the number of restaurants. The forms are display-only: no search is run. On desktop the cards form a 4-column grid; the selected tab survives state restoration.

Logic class diagram

The destination lists are static data, read once per sheet; the tab controller drives everything that moves.

Screen widget composition

The front sheets are plain card lists; the back forms are rows of icon text fields.

Switch from Fly to Sleep sequence

One tab controller moves the indicator, the form and the three sheets in step.

Key files