CssLengthUnit enum Null safety

Length measurement units.

Inheritance

Constants

auto → const CssLengthUnit

Special value: auto.

const CssLengthUnit(0)
em → const CssLengthUnit

Relative unit: em.

const CssLengthUnit(1)
percentage → const CssLengthUnit

Relative unit: percentage.

const CssLengthUnit(2)
pt → const CssLengthUnit

Absolute unit: points, 1pt = 1/72th of 1in.

const CssLengthUnit(3)
px → const CssLengthUnit

Absolute unit: pixels, 1px = 1/96th of 1in.

const CssLengthUnit(4)
values → const List<CssLengthUnit>

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

const List<CssLengthUnit>

Properties

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

Methods

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

Operators

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