toLabel method
Text
toLabel({
- double fontSize = 14,
- Color color = Colors.black,
- FontWeight fontWeight = FontWeight.normal,
Implementation
Text toLabel({
double fontSize = 14,
Color color = Colors.black,
FontWeight fontWeight = FontWeight.normal,
}) => Text(
this ?? '',
style: TextStyle(fontSize: fontSize, color: color, fontWeight: fontWeight),
);