textItem function
Widget
textItem(
- String content, {
- Color? color,
- double? fontSize = 16,
- FontWeight? fontWeight = FontWeight.normal,
Implementation
Widget textItem(
String content, {
Color? color,
double? fontSize = 16,
FontWeight? fontWeight = FontWeight.normal,
}) {
return Text(
content,
style: TextStyle(fontSize: fontSize, color: color, fontWeight: fontWeight),
);
}