ChatUIKitRegExpText constructor

const ChatUIKitRegExpText({
  1. required String text,
  2. TextStyle? style,
  3. StrutStyle? strutStyle,
  4. TextAlign textAlign = TextAlign.start,
  5. TextDirection? textDirection,
  6. Locale? locale,
  7. bool softWrap = true,
  8. TextOverflow overflow = TextOverflow.clip,
  9. Size emojiSize = const Size(18, 18),
  10. TextScaler textScaler = TextScaler.noScaling,
  11. int? maxLines,
  12. bool selectable = false,
  13. RegExp? exp,
  14. Color? expHighlightColor,
  15. bool enableExpUnderline = true,
  16. dynamic onExpTap(
    1. String expStr
    )?,
  17. Key? key,
})

Implementation

const ChatUIKitRegExpText({
  required this.text,
  this.style,
  this.strutStyle,
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.locale,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.emojiSize = const Size(18, 18),
  this.textScaler = TextScaler.noScaling,
  this.maxLines,
  this.selectable = false,
  this.exp,
  this.expHighlightColor,
  this.enableExpUnderline = true,
  this.onExpTap,
  super.key,
});