RichTextWidget constructor
const
RichTextWidget({})
Implementation
const RichTextWidget({
Key? key,
required this.caption,
required this.description,
this.showColon = true,
this.isDescNewLine = false,
this.textAlign = TextAlign.start,
this.captionStyle = const TextStyle(fontSize: 14, color: Colors.black, fontWeight: FontWeight.normal),
this.descriptionStyle = const TextStyle(fontSize: 14, color: Colors.black, fontWeight: FontWeight.normal),
}) : super(key: key);