TerminalTextSize enum

The terminal text-size preference. auto derives the font from the chosen columns so they fit the container width; the others adjust that baseline.

Inheritance
Available extensions

Values

auto → const TerminalTextSize

Derive the font size from the column count and container width.

smaller → const TerminalTextSize

Smaller than auto — fits more columns/keys (handy on phones).

normal → const TerminalTextSize

A fixed comfortable size.

larger → const TerminalTextSize

Larger than auto.

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
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

parse(String? name) TerminalTextSize
Parses a persisted name, defaulting to TerminalTextSize.auto.

Constants

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