StyleProperty class

Contains information of a specific style-attribute in a node. This class is used to retrieve/add specific styling values from/to the attribute

Inheritance

Constructors

StyleProperty.fromStyleString(String styleString)
Decodes a style string to a specific map. This string can look like the following value: "font-size:12;color:#ffffff"
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name of the property. href="http://www.example.com" would have a name of "href"
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
Value of the property. href="http://www.example.com" would have a value of "http://www.example.com"
finalinherited

Methods

getProperty(String key) → dynamic
Searches for a specific property. Returns null if it does not exist.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putProperty(String key, String sValue) bool
adds a new property to the attribute, overwrites the value set if it already exists. Retuns true, if a new property was added.
toHtml() String
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited