OrbSize enum

Tuned size presets.

Each size carries its own dot count, dot size and speed tuning - they are separate designs, not a scale factor.

  • large (64px) - chat-avatar scale
  • small (20px) - inline-text scale
Inheritance
Available extensions

Values

large → const OrbSize

64 CSS pixels - chat-avatar scale.

const OrbSize(64.0)
small → const OrbSize

20 CSS pixels - inline-text scale.

const OrbSize(20.0)

Properties

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
pixels → double
The rendered size in logical pixels.
final
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<OrbSize>
A constant List of the values in this enum, in order of their declaration.