Value class final
This class represents a spacing value.
- Annotations
Constructors
- Value.new(double value, [SpacingValueUnit unit = SpacingValueUnit.px, double remMultiplier = 16.0])
-
Creates a Value.
const
Properties
- flatten → double
-
flatten value to pixels.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- remMultiplier → double
-
Multiplier for
rem
unit.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit → SpacingValueUnit
-
The unit of the value.
final
- value → double
-
The actual value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited