ClickablePatternText constructor

ClickablePatternText(
  1. String text, {
  2. List<ClickablePattern> patterns = const [],
  3. Key? key,
  4. TextStyle? style,
  5. bool softWrap = true,
  6. int? maxLines,
  7. TextOverflow overflow = TextOverflow.clip,
  8. TextStyle? clickableDefaultStyle,
})

Implementation

ClickablePatternText(
  this.text, {
  List<ClickablePattern> patterns = const [],
  Key? key,
  this.style,
  this.softWrap = true,
  this.maxLines,
  this.overflow = TextOverflow.clip,
  this.clickableDefaultStyle,
})  : _patterns = patterns,
      super(key: key);