ItalicMarkup class

斜体样式标记

有效的Tag名称:i 参数:

  • italic(默认,无值)
  • normal(无值)

示例:

<i>bar</i>
<i normal>bar</i>
Inheritance

Constructors

ItalicMarkup()
const

Properties

alias → Set<String>?
标签别名
finalinherited
colorMapper → ColorMapper?
String to Color mapping
finalinherited
decoration → TextDecoration?
finalinherited
decorationColor → Color?
finalinherited
decorationStyle → TextDecorationStyle?
finalinherited
decorationThickness → double?
finalinherited
fontStyle → FontStyle?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
height → double?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
styleMapper → StyleMapper?
String to TextStyle mapping
finalinherited
tag → String
标签名称
finalinherited
tags → List<String>
支持的标签集合
no setterinherited
weight → FontWeight?
finalinherited

Methods

markup(List<HypertextSpan>? children, StartTagToken token, HypertextEventHandler? eventHandler, ColorMapper? colorMapper, StyleMapper? styleMapper) → HypertextSpan
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMarkup(List<HypertextSpan>? children, MarkupContext ctx) → HypertextSpan
inherited
optBgColor(MarkupContext context, {bool enableTagAttr = true}) → Color?
inherited
optColor(MarkupContext context, {bool enableTagAttr = true}) → Color?
inherited
optFontFamily(MarkupContext context, {bool enableTagAttr = true}) → String?
inherited
optFontSize(MarkupContext context, {bool enableTagAttr = true}) → double?
inherited
optFontStyle(MarkupContext ctx, {bool enableTagAttr = true}) → FontStyle?
inherited
optFontWeight(MarkupContext ctx, {bool enableTagAttr = true}) → FontWeight?
inherited
optStyle(MarkupContext context, {bool enableTagAttr = true}) → TextStyle?
inherited
optTextDecoration(MarkupContext ctx, {String attrPrefix = '', bool enableTagAttr = true}) → FontTextDecoration?
inherited
toString() → String
A string representation of this object.
inherited

Operators

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