ChatUIKitRegExpText constructor
const
ChatUIKitRegExpText({
- required String text,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- Locale? locale,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- Size emojiSize = const Size(18, 18),
- TextScaler textScaler = TextScaler.noScaling,
- int? maxLines,
- bool selectable = false,
- RegExp? exp,
- Color? expHighlightColor,
- bool enableExpUnderline = true,
- dynamic onExpTap(
- String expStr
- 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,
});