BankEmblemSize enum

The identity size ladder.

Every avatar and emblem in the kit picks a rung here instead of naming a diameter, so a beneficiary row, a transaction tile, and a transfer review screen agree on how big "an identity" is.

The diameters are rungs of the spacing grid, and the glyph inside each one is the nearest rung of the BankTokens.iconXSmallBankTokens.iconHero ladder to half the diameter (see BankEmblem.glyphSizeFor) — so the icon inside an emblem and the icon beside it are drawn from the same ladder.

Inheritance
Available extensions

Values

xSmall → const BankEmblemSize

24 px — stacked group rails, inline mentions, dense metadata rows.

const BankEmblemSize(BankTokens.space6)
small → const BankEmblemSize

32 px — compact tiles and horizontal rails.

const BankEmblemSize(BankTokens.space8)
medium → const BankEmblemSize

40 px — the default list-row identity.

const BankEmblemSize(BankTokens.space10)
large → const BankEmblemSize

48 px — section headers and review screens, where the entity is the subject of the screen rather than one row of many.

const BankEmblemSize(BankTokens.space12)
xLarge → const BankEmblemSize

64 px — profile and detail headers: one per screen.

const BankEmblemSize(BankTokens.space16)

Properties

diameter double
Diameter of the emblem circle, in logical pixels.
final
glyphSize double
Size of the glyph drawn inside this rung.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<BankEmblemSize>
A constant List of the values in this enum, in order of their declaration.