TextRich constructor

const TextRich({
  1. Key? key,
  2. List<RichTextStyle>? list,
  3. List<RichTextItem>? children,
  4. Color? color,
  5. TextAlign textAlign = TextAlign.start,
})

Implementation

const TextRich({
  Key? key,
  this.list,
  this.children,
  this.color,
  this.textAlign = TextAlign.start,
})  : assert(list == null || children == null),
      super(key: key);