CssLengthUnit enum

Length measurement units.

Inheritance

Constructors

CssLengthUnit()
const

Values

auto → const CssLengthUnit

Special value: auto.

em → const CssLengthUnit

Relative unit: em.

percentage → const CssLengthUnit

Relative unit: percentage.

pt → const CssLengthUnit

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

px → const CssLengthUnit

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

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<CssLengthUnit>
A constant List of the values in this enum, in order of their declaration.