boldTextStyle function
TextStyle
boldTextStyle({
- int? size,
- Color? color,
- FontWeight? weight,
- String? fontFamily,
- double? letterSpacing,
- FontStyle? fontStyle,
- double? wordSpacing,
- TextDecoration? decoration,
- TextDecorationStyle? textDecorationStyle,
- TextBaseline? textBaseline,
- Color? decorationColor,
- Color? backgroundColor,
- double? height,
Styles
Implementation
// Bold Text Style
TextStyle boldTextStyle({
int? size,
Color? color,
FontWeight? weight,
String? fontFamily,
double? letterSpacing,
FontStyle? fontStyle,
double? wordSpacing,
TextDecoration? decoration,
TextDecorationStyle? textDecorationStyle,
TextBaseline? textBaseline,
Color? decorationColor,
Color? backgroundColor,
double? height,
}) {
return TextStyle(
fontSize: size != null ? size.toDouble() : textBoldSizeGlobal,
color: color ?? textPrimaryColorGlobal,
fontWeight: weight ?? fontWeightBoldGlobal,
fontFamily: fontFamily ?? fontFamilyBoldGlobal,
letterSpacing: letterSpacing,
fontStyle: fontStyle,
decoration: decoration,
decorationStyle: textDecorationStyle,
decorationColor: decorationColor,
wordSpacing: wordSpacing,
textBaseline: textBaseline,
backgroundColor: backgroundColor,
height: height,
);
}