JxCssDeclaration class final
Représentation immuable d'une déclaration CSS (propriété et valeur).
Constructors
- JxCssDeclaration({required String property, required String value, bool isImportant = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isImportant → bool
-
Indique si la déclaration comporte le modificateur
!important.final - property → String
-
Nom de la propriété CSS (ex.
display,color,margin-top).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Valeur associée à la propriété CSS (ex.
flex,#ff0000,1rem).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCss(
) → String - Sérialise la déclaration sous forme de chaîne CSS standard.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override