DefaultPatternMarkup class abstract

Inheritance
Implementers

Constructors

DefaultPatternMarkup(TextStyle style, {required String pattern, required String tag, bool enableLongPress = false, bool enableTap = true, PlaceholderAlignment? alignment, TextBaseline? baseline, MouseCursor? cursor, String? tooltip, int? startCharacter, bool caseSensitive = true})

Properties

alignment PlaceholderAlignment?
How the placeholder aligns vertically with the text.
final
baseline TextBaseline?
The TextBaseline to align against when using ui.PlaceholderAlignment.baseline, ui.PlaceholderAlignment.aboveBaseline, and ui.PlaceholderAlignment.belowBaseline.
final
cursor MouseCursor?
final
enableLongPress bool
final
enableTap bool
final
hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
匹配模式
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startCharacter int?
起始字符
finalinherited
style TextStyle
final
tags List<String>
支持的标签集合
finalinherited
tooltip String?
final

Methods

markup(List<HypertextSpan>? children, StartTagToken token, HypertextEventHandler? eventHandler, ColorMapper? colorMapper) HypertextSpan
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMarkup(List<HypertextSpan>? children, MarkupContext ctx) HypertextSpan
override
onMatch(PatternParser parser, Match startMatch) bool
inherited
toString() String
A string representation of this object.
inherited
tryMatch(PatternParser parser, [int? startMatchPos]) bool
inherited

Operators

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