b1 method

Widget b1({
  1. Color color = Colors.black,
  2. TextAlign textAlign = TextAlign.start,
  3. int maxLines = 1,
})

b1 return text with style b1,

  • Param color color = Colors.black
  • Param textAlign textAlign = TextAlign.start
  • Param maxLines maxLines = 1 (default)
  • Param fontSize font size = 16
  • Param fontWeight font weight = FontWeight.bold

Implementation

Widget b1(
    {Color color = Colors.black,
    TextAlign textAlign = TextAlign.start,
    int maxLines = 1}) {
  return BaseText(this,
      textAlign: textAlign,
      maxLines: maxLines,
      style: GoogleFonts.notoSans(
          fontSize: 16, color: color, fontWeight: FontWeight.bold));
}