JxRule class abstract base

Classe de base abstraite facilitant la création de règles CSS utilitaires.

Implemented types
Implementers

Constructors

JxRule(String id)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Identifiant unique de la règle (ex. color, padding, display).
final
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.
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