SimpleLength class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('SimpleLength')
  • @Experimental()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

SimpleLength(num value, String type)
factory
SimpleLength.internal_()

Properties

typeString
@DocsEditable(), @DomName('SimpleLength.type'), @Experimental(), read-only
valuenum
@DocsEditable(), @DomName('SimpleLength.value'), @Experimental(), read / write
cssStringString
@DocsEditable(), @DomName('StyleValue.cssString'), @Experimental(), read-only, inherited
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

add(LengthValue other) → LengthValue
@DocsEditable(), @DomName('LengthValue.add'), @Experimental(), inherited
divide(num value) → LengthValue
@DocsEditable(), @DomName('LengthValue.divide'), @Experimental(), inherited
multiply(num value) → LengthValue
@DocsEditable(), @DomName('LengthValue.multiply'), @Experimental(), inherited
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

subtract(LengthValue other) → LengthValue
@DocsEditable(), @DomName('LengthValue.subtract'), @Experimental(), inherited
toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/SimpleLength-class.html