EasyRichTextPattern constructor
EasyRichTextPattern({
- required dynamic targetString,
- String stringBeforeTarget = '',
- String stringAfterTarget = '',
- bool matchWordBoundaries = true,
- bool matchLeftWordBoundary = true,
- bool matchRightWordBoundary = true,
- bool superScript = false,
- bool subScript = false,
- TextStyle? style,
- String? urlType,
- GestureRecognizer? recognizer,
- bool hasSpecialCharacters = false,
- dynamic matchOption = 'all',
- EasyRichTextMatchBuilder? matchBuilder,
- InlineSpan? prefixInlineSpan,
- InlineSpan? suffixInlineSpan,
Implementation
EasyRichTextPattern(
{required this.targetString,
this.stringBeforeTarget = '',
this.stringAfterTarget = '',
this.matchWordBoundaries = true,
this.matchLeftWordBoundary = true,
this.matchRightWordBoundary = true,
this.superScript = false,
this.subScript = false,
this.style,
this.urlType,
this.recognizer,
this.hasSpecialCharacters = false,
this.matchOption = 'all',
this.matchBuilder,
this.prefixInlineSpan,
this.suffixInlineSpan});