Unit class abstract
Constructors
- Unit.em(double value)
-
Constructs a Unit in the form '100em'
constfactory
- Unit.percent(double value)
-
Constructs a Unit in the form '100%'
constfactory
- Unit.pixels(double value)
-
Constructs a Unit in the form '100px'
constfactory
- Unit.points(double value)
-
Constructs a Unit in the form '100pt'
constfactory
- Unit.rem(double value)
-
Constructs a Unit in the form '100rem'
constfactory
- Unit.vh(double value)
-
Constructs a Unit in the form '100vh'
constfactory
- Unit.vw(double value)
-
Constructs a Unit in the form '100vw'
constfactory
Properties
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