VTextParserWidget constructor

const VTextParserWidget({
  1. Key? key,
  2. dynamic onEmailPress(
    1. String email
    )?,
  3. dynamic onMentionPress(
    1. String userId
    )?,
  4. dynamic onPhonePress(
    1. String phone
    )?,
  5. dynamic onLinkPress(
    1. String link
    )?,
  6. bool enableTabs = false,
  7. bool isOneLine = false,
  8. required String text,
  9. TextStyle? textStyle,
  10. TextStyle? emailTextStyle,
  11. TextStyle? phoneTextStyle,
  12. 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);