JxStaticRule class final

Règle « standalone » : une classe sans valeur produit des déclarations fixes (ex. flex -> display: flex, hidden -> display: none).

Inheritance

Constructors

JxStaticRule(String id, Map<String, Map<String, String>> classes)
const

Properties

classes → Map<String, Map<String, String>>
Table identifiant -> déclarations (propriété -> valeur).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Identifiant unique de la règle (ex. color, padding, display).
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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