TextRich constructor
const
TextRich({
- Key? key,
- List<
RichTextStyle> ? list, - List<
RichTextItem> ? children, - Color? color,
- 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);