CustomUnderlineStyles class

A data structure that describes how various custom underline styles should be painted.

This data structure is a glorified map, which maps from underline names, such as "squiggle", to an underline style, such as SquiggleUnderlineStyle.

A CustomUnderlineStyles can be placed in a document stylesheet in a style rule with a key of Styles.customUnderlineStyles.

Constructors

CustomUnderlineStyles(Map<String, UnderlineStyle> stylesByType)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stylesByType Map<String, UnderlineStyle>
Map from a custom underline type to its painter.
final

Methods

addStyles(Map<String, UnderlineStyle> newStyles) CustomUnderlineStyles
copy() CustomUnderlineStyles
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