giga method

TextStyle giga({
  1. Color? color,
  2. bool? isBold,
  3. bool? isStatic,
  4. FontWeight fontWeight = FontWeight.normal,
})

Implementation

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