CustomSmartText constructor

const CustomSmartText({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. TextStyle? linkStyle,
  5. TextStyle? tagStyle,
  6. TextStyle? atStyle,
  7. int? maxLines,
  8. StringCallback? onUrlClicked,
  9. StringCallback? onAtClick,
  10. StringCallback? onTagClick,
  11. bool disableLinks = false,
  12. bool disableAt = false,
  13. bool disableHashTag = false,
})

Implementation

const CustomSmartText({
  Key? key,
  required this.text,
  this.style,
  this.linkStyle,
  this.tagStyle,
  this.atStyle,
  this.maxLines,
  this.onUrlClicked,
  this.onAtClick,
  this.onTagClick,
  this.disableLinks = false,
  this.disableAt = false,
  this.disableHashTag = false,
}) : super(key: key);