build static method

TextStyle build(
  1. BuildContext context, {
  2. Color? color = ColorPalette.solidDarkGrey,
  3. FontWeight? boldness = regularFontWeight,
  4. required double? fontSize,
  5. TextDecoration? decoration = TextDecoration.none,
  6. double? lineHeight,
})

Implementation

static TextStyle build(BuildContext context,
    {Color? color = ColorPalette.solidDarkGrey,
    FontWeight? boldness = regularFontWeight,
    required double? fontSize,
    TextDecoration? decoration = TextDecoration.none,
    double? lineHeight
    }) {
  return TextStyle(fontFamily: _getFontFamily(context), color: color, fontSize: fontSize, fontWeight: boldness, decoration: decoration, height: lineHeight);
}