UnderlineStyle class

Class that represents the constants for the underline style and strikethrough style attribute keys.

Properties

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

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<UnderlineStyle>
Set of all values of UnderlineStyle.
final

Static Methods

asNameMap() Map<String, UnderlineStyle>
Creates a map from the names of UnderlineStyle values to the values.
byName(String? name) UnderlineStyle?
Gets a possible UnderlineStyle instance value with name name.
fromNativeValue(int? value) UnderlineStyle?
Gets a possible UnderlineStyle instance from a native value.
fromValue(int? value) UnderlineStyle?
Gets a possible UnderlineStyle instance from int value.

Constants

BY_WORD → const UnderlineStyle
Draw the line only beneath or through words, not whitespace.
DOUBLE → const UnderlineStyle
Draw a double line.
PATTERN_DASH → const UnderlineStyle
Draw a line of dashes.
PATTERN_DASH_DOT → const UnderlineStyle
Draw a line of alternating dashes and dots.
PATTERN_DASH_DOT_DOT → const UnderlineStyle
Draw a line of alternating dashes and two dots.
PATTERN_DOT → const UnderlineStyle
Draw a line of dots.
SINGLE → const UnderlineStyle
Draw a single line.
STYLE_NONE → const UnderlineStyle
Do not draw a line.
THICK → const UnderlineStyle
Draw a thick line.