JxKeywordRule class final

Règle à mots-clés produisant plusieurs déclarations distinctes (ex. tr:colors -> transition-property, transition-duration…).

Inheritance

Constructors

JxKeywordRule(String id, {required Set<String> identifiers, required Map<String, Map<String, String>> values})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Identifiant unique de la règle (ex. color, padding, display).
finalinherited
identifiers → Set<String>
Identifiants acceptés (ex. {'tr'}).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Map<String, Map<String, String>>
Table mot-clé -> (propriété -> valeur).
final

Methods

escapeSelector(String rawClassName) → String
Échappe les caractères spéciaux pour former un sélecteur de classe CSS valide.
inherited
generate(JxClassToken token, JxThemeContract theme) → List<JxCssRule>
Génère les règles CSS correspondantes au token en utilisant le thème fourni.
override
matches(JxClassToken token) → bool
Vérifie si la règle prend en charge le token donné.
override
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