TextRich.color constructor

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

Implementation

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