xL method
TextStyle
xL({
- Color? color,
- bool? isBold,
- bool? isStatic,
- FontWeight fontWeight = FontWeight.normal,
Implementation
TextStyle xL(
{Color? color,
bool? isBold,
bool? isStatic,
FontWeight fontWeight = FontWeight.normal}) {
color ??= Get.find<AppColors>().textColor;
return TextStyle(
fontSize: isStatic == null
? _size5
: isStatic
? _staticSizes["xL"]
: _sizeRatios["xL"],
color: color,
fontWeight: isBold == null
? fontWeight
: isBold
? FontWeight.bold
: FontWeight.normal);
}