RichLabel constructor
const
RichLabel({})
创建一个富文本标签。
text 为完整文本,matchedStrings 的键为需要匹配的文字,
值用于配置匹配文字的样式和点击事件。
Implementation
const RichLabel({
super.key,
required this.text,
this.baseStyle,
this.textAlign = TextAlign.left,
this.matchedStrings,
this.maxLines,
this.overflow,
this.borderWidth = 0,
this.borderColor,
});