JxTokenValue class final
Représentation générique d'un token de design JX CSS.
Constructors
- JxTokenValue({required String category, required String key, required String value})
-
const
Properties
- category → String
-
Catégorie du token (ex.
colors,spacing,breakpoints).final - hashCode → int
-
The hash code for this object.
no setteroverride
- key → String
-
Clé identifiante du token (ex.
primary,4,md).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Valeur CSS finale associée au token (ex.
#2563eb,1rem,768px).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCssVariableDeclaration(
{String prefix = 'jx'}) → String -
Déclaration CSS de la variable (ex.
--jx-colors-primary: #2563eb;). -
toCssVariableName(
{String prefix = 'jx'}) → String -
Nom de variable CSS correspondant au token (ex.
--jx-colors-primary). -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override