WidgetHtml class

Contains useful methods to make working with HTML easier.

Constructors

WidgetHtml()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

listToCommas(List list) String
Converts the array to one of the HTML styles.
For example, which uses coords attribute - 0, 0, 82, 126.
Input: 'a', 'b', 'c'.
Output: 'a, b, c'.
listToSemicolons(List list) String
Converts the array to one of the HTML styles.
For example, which uses style attribute: (margin: 10px; padding: 10px).
Input: 'a', 'b', 'c'.
Output: 'a; b; c'.
listToSpaces(List list) String
Converts the array to one of the HTML styles.
For example, which uses class attribute: name1 name2.
Input: 'a', 'b', 'c'.
Output: 'a b c'.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

commaSep → const String
semicolonSep → const String
spaceSep → const String