Delivery Tracking

Loading preview

Starting the Flutter app

A showcase of Flutter's delivery tracking functionality

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

A vertical status timeline is generated from _steps: each IntrinsicHeight row has a dot and connector on the left, then the title and optional time. done turns a dot green and isLast drops the final connector. Color is decided per step, so the line leaving “Out for delivery” is already green before delivery happens. There is no map, polling or ETA.

Adapting it

  • Replace _steps with order status from a stream or polling call, rebuilt through a StreamBuilder.
  • Color each connector from the next step’s done value if it should only show completed segments.
  • Pass the order in as a parameter, replacing Order #1234 and Pizza Palace → Your address.