Skip to content
Get started
Menu
Get started

Icon

Semantic glyphs beside payment rows.

Schedule icons in five sizes and status icons in semantic colors.Schedule icons in five sizes and status icons in semantic colors.
Icon
example/lib/screens/gallery_layout.dart
PaymentIcon.tone(tone);

Variants: xsmall, small, medium, large, xlarge.

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.

The icon displays the selected glyph, size and semantic color. It does not determine payment status.

Do: Choose the semantic size token; text still communicates the outcome.

Don’t: Assign a raw color that bypasses semantic tone.

Choose an icon that agrees with the adjacent label. Keep status meaning in words as well as the glyph.

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.

ParameterTypeDefaultDescription
iconrequiredpositionalIconData?—Custom glyph, or the tone default.
size:PaymentIconSizePaymentIconSize.mediumGlyph size.
color:PaymentTextColor?—Semantic color, otherwise inherited.
semanticLabel:String?—Alt text; null makes the icon decorative.

PaymentIcon.tone(…)

ParameterTypeDefaultDescription
tonerequiredpositionalStatusTone?—Status tone.
icon:IconData?—Custom glyph, or the tone default.
size:PaymentIconSizePaymentIconSize.mediumGlyph size.

PaymentIconSize

enum PaymentIconSize · lib/src/foundation/payment_tokens.dart

Existing icon sizes; medium scales with text up to 1.6×.

ValueDescription
xsmall14, existing badge.
small16, existing merchant mark.
medium20 scaled up to 1.6×, existing rows.
large32, existing video control.
xlarge48, existing state icon.

PaymentIcons

class PaymentIcons · lib/src/foundation/payment_icons.dart

Fixed meanings for the kit icon vocabulary.