EasyRichTextPattern constructor

EasyRichTextPattern({
  1. required dynamic targetString,
  2. String stringBeforeTarget = '',
  3. String stringAfterTarget = '',
  4. bool matchWordBoundaries = true,
  5. bool matchLeftWordBoundary = true,
  6. bool matchRightWordBoundary = true,
  7. bool superScript = false,
  8. bool subScript = false,
  9. TextStyle? style,
  10. String? urlType,
  11. GestureRecognizer? recognizer,
  12. bool hasSpecialCharacters = false,
  13. dynamic matchOption = 'all',
  14. EasyRichTextMatchBuilder? matchBuilder,
  15. InlineSpan? prefixInlineSpan,
  16. 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});