PaddingMarkup class
用于向内部填充间距
- Inheritance
-
- Object
- HyperMarkup
- TagMarkup
- PaddingMarkup
Constructors
- PaddingMarkup.new([PlaceholderAlignment? alignment, TextBaseline? baseline])
-
const
Properties
-
alias
→ Set<
String> ? -
标签别名
finalinherited
- 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
, andui.PlaceholderAlignment.belowBaseline
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
标签名称
finalinherited
-
支持的标签集合
no setterinherited
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited