Convert constructor

Convert(
  1. String cssContent, {
  2. HyperLinkCallback? linkCallBack,
  3. TextStyle? defaultStyle,
})

cssContent 带有html 标签文本 linkCallBack 超链接的点击回调 defaultStyle 外部传入的默认文本样式

Implementation

Convert(
  String cssContent, {
  HyperLinkCallback? linkCallBack,
  TextStyle? defaultStyle,
}) {
  _eventList = xml.parseEvents(cssContent);
  _linkCallBack = linkCallBack ?? null;
  _defaultStyle = defaultStyle;
}