JxTheme class final
Implémentation standard du contrat de thème JX CSS.
- Implemented types
Constructors
- JxTheme({required String name, String prefix = 'jx', JxThemeData? data})
- JxTheme.defaultTheme()
-
Crée le thème par défaut du framework (palette, espacements,
breakpoints, typographie, rayons, bordures et opacités).
factory
Properties
- data → JxThemeData
-
Données de tokens associées au thème.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Nom identifiant le thème (ex.
default,dark).final - prefix → String
-
Préfixe utilisé pour générer les variables CSS (défaut:
jx).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCssVariables(
) → Map< String, String> -
Retourne l'ensemble des variables CSS déclarées par le thème.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveToken(
String category, String key) → String? -
Résout la valeur d'un token à partir de sa catégorie et de sa clé.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited