ScalePreset enum

ScalePreset determines the scaling of _holder which is the main container that holds all other components within a ThreeColumnTextBar. A value of small sets the height of the holder to 45px, medium sets it to 50px, large to 55px, and gigantic to 90px. The label and data text fontSize are also scaled proportionally to the height of the holder, both in the device portrait and landscape orientation.

Constants

gigantic → const ScalePreset
const ScalePreset(3)
large → const ScalePreset
const ScalePreset(2)
medium → const ScalePreset
const ScalePreset(1)
small → const ScalePreset
const ScalePreset(0)
values → const List<ScalePreset>

A constant List of the values in this enum, in order of their declaration.

const List<ScalePreset>

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited