labelB method
labelB return text with style label bold
- Param
color
color = Colors.black
- Param
textAlign
textAlign = TextAlign.start
- Param
maxLines
maxLines = 1 (default)
- Param
fontSize
font size = 11
- Param
fontWeight
font weight = FontWeight.bold
Implementation
Widget labelB(
{Color color = Colors.black,
TextAlign textAlign = TextAlign.start,
int maxLines = 1}) {
return BaseText(this,
textAlign: textAlign,
maxLines: maxLines,
style: GoogleFonts.notoSans(
fontSize: 11, color: color, fontWeight: FontWeight.bold));
}