Fluent2FieldMetrics class final
The geometry of a field size, Fluent's Input: height (24, 32, 40), the room at a side with no slot (combined: 8, 12, 18), the root's room before a slot (root: 6, 10, 12) and the words' room after it (inner: 2, 2, 6), the slot glyph (16, 20, 24) and the gap between slot and words (2, 2, 6).
- Annotations
Properties
- combined → double
-
The room at a side with no slot.
final
- gap → double
-
The gap between a slot and the words.
final
- glyph → double
-
A slot glyph's size.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The field's height at this size.
final
- inner → double
-
The room between a slot and the words.
final
- root → double
-
The room before a slot.
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
Static Methods
-
of(
Fluent2InputSize size) → Fluent2FieldMetrics -
The metrics of a field at
size. -
typeOf(
Fluent2ThemeData t, Fluent2InputSize size) → TextStyle -
The words' type at
size: caption1, body1, body2.