CssUnitValue class
- Inheritance
- Object
- CssStyleValue
- CssNumericValue
- CssUnitValue
- Annotations
- @DocsEditable()
- @DomName('CSSUnitValue')
- @Experimental()
- @Native("CSSUnitValue")
Constructors
- CssUnitValue(num value, String unit)
-
factory
Properties
- type → String
-
@DocsEditable(), @DomName('CSSUnitValue.type'), @Experimental(), final
- unit ↔ String
-
@DocsEditable(), @DomName('CSSUnitValue.unit'), @Experimental(), read / write
- value ↔ num
-
@DocsEditable(), @DomName('CSSUnitValue.value'), @Experimental(), read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add(
CssNumericValue value) → CssNumericValue -
@DocsEditable(), @DomName('CSSNumericValue.add'), @Experimental(), inherited
-
div(
num value) → CssNumericValue -
@DocsEditable(), @DomName('CSSNumericValue.div'), @Experimental(), inherited
-
mul(
num value) → CssNumericValue -
@DocsEditable(), @DomName('CSSNumericValue.mul'), @Experimental(), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
sub(
CssNumericValue value) → CssNumericValue -
@DocsEditable(), @DomName('CSSNumericValue.sub'), @Experimental(), inherited
-
to(
String unit) → CssNumericValue -
@DocsEditable(), @DomName('CSSNumericValue.to'), @Experimental(), inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited