JxClassToken class final
Représentation intermédiaire (token) d'une classe utility analysée.
Constructors
Properties
- arbitraryValue → String?
-
Valeur arbitraire décodée (sans crochets), ou
nullsi la valeur n'est pas arbitraire. Voir JxCssValue.decodeArbitrary :_devient une espace,\_un_littéral, et les_d'unurl(…)sont conservés.no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- hasValue → bool
-
Indique si la classe possède une valeur spécifiée.
no setter
- hasVariants → bool
-
Indique si la classe comporte des variantes conditionnelles.
no setter
- identifier → String
-
Identifiant ou racine de l'utilitaire (ex.
c,m,p,flex).final - isArbitrary → bool
-
Indique si la valeur est arbitraire, c'est-à-dire entourée de crochets
(ex.
[#ff0000],[200px]).no setter - isImportant → bool
-
Indique si la classe est marquée comme importante via un symbole dédié.
final
- isNegative → bool
-
Indique si la valeur est négative (ex.
m:-4,-m:4).final - raw → String
-
Nom brut d'origine de la classe (ex.
hover:c:primary!,m:4).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String?
-
Valeur associée à l'utilitaire, si applicable (ex.
primary,4,[#ff0000]).final -
variants
→ List<
String> -
Liste des variantes/modificateurs (ex.
['hover'],['md', 'focus']).final
Methods
-
copyWith(
{String? raw, String? identifier, String? value, List< String> ? variants, bool? isImportant, bool? isNegative}) → JxClassToken - Copie le token en surchargeant les champs spécifiés.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override