buildContent method
Implementation
Widget buildContent() {
switch (tagType) {
case JUITagType.text:
return Text(
text,
style: TextStyle(color: getColor(false), fontSize: fontSize),
textAlign: TextAlign.start,
);
case JUITagType.icon:
return Row(
children: [
icon ?? const SizedBox(),
const SizedBox(
width: 4,
),
Text(
text,
style: TextStyle(color: getColor(false), fontSize: fontSize),
),
],
);
}
}