order_tracker
A step timeline with done, current and pending.
Where something has got to. order_tracker draws two to twelve named steps with a status each, so "where is my order" is answered by a shape rather than a sentence.
It is not delivery-specific. A return, an application, a repair and an onboarding all have the same structure.
- Ordered22 Aug, 09:14
- Packed in Rotterdam23 Aug, 17:02
- Out for delivery26 Aug, 07:40
- Delivered
Drawn live in your browser with the SDK’s own sizes and colours, not a screenshot.
Rendered natively by the Flutter SDK and the Web SDK, both since 0.1.0.
When not to use it
Do not use it for a percentage. A tracker names its steps; progress is the block for a proportion.
Do not use it for things the user has to do, either. Steps here are states the system reports, not tasks: a list of things the user has to do is a checklist.
When it arrives
eta and as_of (ISO 8601 with offset) say when it is expected and when that was known; an eta without as_of fails validation. An ETA in the past, or one known long ago, is drawn as a clock time "as of" then, never as "in about 25 min". eta_label ("14:20–14:40") is how to say it, a step's note is one line under it, and reference is the tracking number with a copy button. All since Flutter 0.40.0 / Web 0.17.0.
Props
Every block also carries type and a required fallback_text of 1 to 300 characters.
| Prop | Type | Required | Constraints |
|---|---|---|---|
title | string | No | Up to 120 characters. |
images | string[] | No | Up to 4 strings. |
steps | array | Yes | 2 to 12 entries. One step is not a timeline. |
steps[].label | string | Yes | 1 to 80 characters. |
steps[].status | done | current | pending | Yes | None |
steps[].timestamp | string | No | Up to 40 characters. Formatted by you. |
steps[].note | string | No | Up to 160 characters. |
eta | string | No | ISO 8601 with its offset (2026-10-10T09:30:00+03:00) or Z. |
eta_label | string | No | Up to 40 characters. |
as_of | string | No | ISO 8601 with its offset (2026-10-10T09:30:00+03:00) or Z. |
reference | object | No | None |
reference.label | string | Yes | 1 to 30 characters. |
reference.value | string | Yes | 1 to 40 characters. |
On the wire
{
"id": "blk_08",
"type": "order_tracker",
"fallback_text": "Order 1042 is out for delivery, packed on 23 August.",
"props": {
"title": "Order 1042",
"steps": [
{
"label": "Ordered",
"status": "done",
"timestamp": "22 Aug, 09:14"
},
{
"label": "Packed in Rotterdam",
"status": "done",
"timestamp": "23 Aug, 17:02"
},
{
"label": "Out for delivery",
"status": "current",
"timestamp": "26 Aug, 07:40"
},
{
"label": "Delivered",
"status": "pending"
}
]
}
}Interaction
Only the copy button on reference. The steps are a readout.
States
| State | What the SDK draws |
|---|---|
| Loading | Three dot-and-label placeholder rows. |
| Empty | An empty steps array renders fallback_text inside the plate. |
| All pending | Every dot is an open ring and the connector stays at hairline weight. Nothing is marked current that is not. |
| No current step | Perfectly legal: a finished timeline is all done, and a cancelled one may have none. |
Accessibility
All three states are drawn in ink: a timeline is a readout, and the accent is reserved for what the reader can act on. The step you are waiting on is marked structurally instead: its row sits on a highlight band, and the pill at the head of the block names it. Done steps carry a tick, the current one a dot in a ring, and pending ones a dashed ring, with the line dashed from the current step on.
Each step announces its label, its timestamp and its state in words ("Out for delivery, 26 Aug 07:40, in progress"), because the dot that carries the state visually carries nothing to a screen reader.
fallback_text should name the current step, since that is the answer to the question that produced the block.