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