SpaceToken class
A class representing a space token, which extends MixToken class
and uses the SizeTokenMixin mixin.
A space token defines a value for controlling the size of UI elements.
Constructors
- SpaceToken(String name)
-
A constant constructor that accepts a
Stringargument namedname. Name needs to be unique per tokenconst
Properties
Methods
-
call(
) → double -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
BuildContext context) → double -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited