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