Icon
Semantic glyphs beside payment rows.


PaymentIcon.tone(tone);Variants
Section titled “Variants”Variants: xsmall, small, medium, large, xlarge.
Which variant when
Section titled “Which variant when”| Situation | Variant / composition | Payment example |
|---|---|---|
| Status or action mark | medium | Choose the semantic size token; text still communicates the outcome. |
Use Image for host artwork.
States
Section titled “States”The icon displays the selected glyph, size and semantic color. It does not determine payment status.
Do and don’t
Section titled “Do and don’t”Do: Choose the semantic size token; text still communicates the outcome.
Don’t: Assign a raw color that bypasses semantic tone.
Content guidelines
Section titled “Content guidelines”Choose an icon that agrees with the adjacent label. Keep status meaning in words as well as the glyph.
Accessibility
Section titled “Accessibility”Decorative icons are excluded from semantics. An icon-only action needs an accessible label or tooltip.
PaymentIcon
class PaymentIcon extends StatelessWidget · lib/src/foundation/payment_icons.dart
Material glyph at a semantic size, centered on the first text line.
| Parameter | Type | Default | Description |
|---|---|---|---|
iconrequiredpositional | IconData? | — | Custom glyph, or the tone default. |
size: | PaymentIconSize | PaymentIconSize.medium | Glyph size. |
color: | PaymentTextColor? | — | Semantic color, otherwise inherited. |
semanticLabel: | String? | — | Alt text; null makes the icon decorative. |
PaymentIcon.tone(…)
| Parameter | Type | Default | Description |
|---|---|---|---|
tonerequiredpositional | StatusTone? | — | Status tone. |
icon: | IconData? | — | Custom glyph, or the tone default. |
size: | PaymentIconSize | PaymentIconSize.medium | Glyph size. |
PaymentIconSize
enum PaymentIconSize · lib/src/foundation/payment_tokens.dart
Existing icon sizes; medium scales with text up to 1.6×.
| Value | Description |
|---|---|
xsmall | 14, existing badge. |
small | 16, existing merchant mark. |
medium | 20 scaled up to 1.6×, existing rows. |
large | 32, existing video control. |
xlarge | 48, existing state icon. |
PaymentIcons
class PaymentIcons · lib/src/foundation/payment_icons.dart
Fixed meanings for the kit icon vocabulary.