Status header
StatusHeader is the top of a status screen: a thin band, then an icon beside the state in words. Band shape, tone, icon and words are four signals, so a hatched band (the outcome is not known yet) never reads as a plain “pending”.
Pass the status from your own payment snapshot; the header never infers it.


StatusHeader( tone: StatusTone.success, icon: Icons.check_circle_outline, title: l10n.statusSucceededTitle, );Variants
Section titled “Variants”Variants: neutral, info, success, warning, danger; hatched unknown.
The default. A solid band marks a settled state (success, failed) or one that is waiting on something known, such as a transfer the person still has to make.
Hatched
Section titled “Hatched”hatched: true draws diagonal stripes, like caution tape. Use it only when the payment was sent and no result has arrived: the outcome is unknown, and the person must not pay again. The difference from “waiting” is in shape and words as well as in color.
Band only
Section titled “Band only”StatusBand is the 6 px band on its own, for a layout that puts the title elsewhere. It takes the same tone and hatched.
const StatusBand(tone: StatusTone.success);Which variant when
Section titled “Which variant when”| Situation | Variant / composition | Payment example |
|---|---|---|
| Payment outcome | hatched unknown | Use an explicit not-confirmed label and hatching when the host lacks an outcome. |
Use Badge for a short status inside a row.
States
Section titled “States”The host chooses the label, tone and band pattern. Use a hatched band for an unknown result and a solid band for pending.
Do and don’t
Section titled “Do and don’t”Do: Use an explicit not-confirmed label and hatching when the host lacks an outcome.
Don’t: Show an unknown payment as success or failure.
Content guidelines
Section titled “Content guidelines”- The title is the state in plain words: “Payment received”, “Payment failed”, “Result not confirmed yet”.
- Do not use “Processing” for an unknown outcome. Say that the result is not confirmed, and say what to do (see Payment attempt and status).
- Pick an icon that agrees with the title.
Accessibility
Section titled “Accessibility”- The title is marked as a header for screen readers. The band is decorative and excluded from semantics.
- The title scales with the text and wraps. The icon grows up to 1.6× and stays centered on the title’s first line.
In the example app
Section titled “In the example app”

StatusHeader
class StatusHeader extends StatelessWidget · lib/src/foundation/primitives.dart
The top of a status screen: a band, then an icon beside the state in words. Band shape, tone, icon and words are four signals, so a hatched band (the outcome is not known yet) never reads as a plain "pending".
The title scales with the text and may wrap. The icon scales up to 1.6× and centers on the title's first line.
| Parameter | Type | Default | Description |
|---|---|---|---|
tone:required | StatusTone | — | — |
icon:required | IconData | — | — |
title:required | String | — | — |
hatched: | bool | false | Marks an outcome that is not known yet. |
StatusBand
class StatusBand extends StatelessWidget · lib/src/foundation/primitives.dart
Thin band above a status title. A solid band marks a settled or waiting state; a hatched band marks an outcome that is not known yet, so the two warning states differ in shape as well as in words, not only in color.
| Parameter | Type | Default | Description |
|---|---|---|---|
tone:required | StatusTone | — | — |
hatched: | bool | false | — |
See also
Section titled “See also”- Status and receipt for the full status view.
- Status badge for a status inside a row.