IOSNSUnderlineStyle class

An iOS-specific Class that represents the constants for the underline style and strikethrough style attribute keys. Use UnderlineStyle instead.

Annotations

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<IOSNSUnderlineStyle>
Set of all values of IOSNSUnderlineStyle.
final

Static Methods

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

Constants

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