markup library

Classes

BoldMarkup
加粗标记
ColorMarkup
文本颜色标记
DelMarkup
删除线
FontStyleMarkup
定义文本是否斜体标记
FontWeightMarkup
定义粗细标记
GapMarkup
间隙标记
GradientMarkup
文本渐变标记
HyperMarkup
定义标记的基类
HypertextTextSpan
具有遗传样式特性的TextSpan
HypertextWidgetSpan
具有遗传样式特性的WidgetSpan
ImageMarkup
图片标记
ItalicMarkup
斜体样式标记
LinkMarkup
定义链接标记
MarkupContext
HyperMarkup的上下文
MarkupEvent
Related gesture events for marking elements
MarkupLongPressEvent
长按事件
MarkupTapEvent
点击事件
PaddingMarkup
用于向内部填充间距
SizeMarkup
文本大小标记
StyleMarkup
文本样式的聚合标签
TagMarkup
自定义标签标记
TextDecorationMarkup
文本装饰
UnderlineMarkup
下划线标记

Mixins

HypertextSpan

Constants

kBasicCSSColors → const ColorMapper
基础的CSS颜色映射集合 https://www.w3.org/wiki/CSS/Properties/color/keywords

Properties

kEmptyHypertextSpan HypertextTextSpan
final

Typedefs

ColorMapper = Map<String, Color>
颜色映射
FontTextDecoration = ({Color? color, TextDecoration? decoration, TextDecorationStyle? style, double? thickness})
ImageMarkupBuilder = Widget? Function(BuildContext context, String url, {Alignment? alignment, BoxFit? fit, double? height, double? width})
ImageMarkup的图片构建器