LengthOrPercent class

This dimension takes a value with a length-percent unit such as px or em or %. Note that these can be fixed or relative (but they must not be a percent)

Inheritance
Implementers
Available extensions

Constructors

LengthOrPercent(double value, [Unit unit = Unit.px])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit Unit
getter/setter pairinherited
value double
getter/setter pairinherited

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