TextSegment constructor

TextSegment(
  1. String text, [
  2. String? name,
  3. bool isHashtag = false,
  4. bool isMention = false,
  5. bool isTag = false,
  6. String? tagName,
  7. bool isUrl = false,
])

Implementation

TextSegment(
  this.text, [
  this.name,
  this.isHashtag = false,
  this.isMention = false,
  this.isTag = false,
  this.tagName,
  this.isUrl = false,
]);