build static method
TextStyle
build(
- BuildContext context, {
- Color? color = ColorPalette.solidDarkGrey,
- FontWeight? boldness = regularFontWeight,
- required double? fontSize,
- TextDecoration? decoration = TextDecoration.none,
- 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);
}