VTextParserWidget constructor
const
VTextParserWidget({
- Key? key,
- dynamic onEmailPress(
- String email
- dynamic onMentionPress(
- String userId
- dynamic onPhonePress(
- String phone
- dynamic onLinkPress(
- String link
- bool enableTabs = false,
- bool isOneLine = false,
- required String text,
- TextStyle? textStyle,
- TextStyle? emailTextStyle,
- TextStyle? phoneTextStyle,
- TextStyle? mentionTextStyle,
Implementation
const VTextParserWidget({
Key? key,
this.onEmailPress,
this.onMentionPress,
this.onPhonePress,
this.onLinkPress,
this.enableTabs = false,
this.isOneLine = false,
required this.text,
this.textStyle,
this.emailTextStyle,
this.phoneTextStyle,
this.mentionTextStyle,
}) : super(key: key);