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