EasyRichTextPattern constructor

EasyRichTextPattern({
  1. Key? key,
  2. required dynamic targetString,
  3. String stringBeforeTarget = '',
  4. String stringAfterTarget = '',
  5. bool matchWordBoundaries = true,
  6. bool matchLeftWordBoundary = true,
  7. bool matchRightWordBoundary = true,
  8. bool superScript = false,
  9. bool subScript = false,
  10. TextStyle? style,
  11. String? urlType,
  12. GestureRecognizer? recognizer,
  13. bool hasSpecialCharacters = false,
  14. dynamic matchOption = 'all',
  15. EasyRichTextMatchBuilder? matchBuilder,
})

Implementation

EasyRichTextPattern({
  Key? key,
  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,
});