textStyleLocal method

dynamic textStyleLocal()

Implementation

textStyleLocal() {
  return TextStyle(
      color: isTextOnly ? (textColor ?? Clr.colorBlack) : textColor,
      fontSize: textSize,
      fontWeight: hasBold
          ? fontWeight ?? Static.fontWeight ?? FontWeight.bold
          : fontWeight ?? Static.fontWeight ??FontWeight.normal,
    fontFamily: fontFamily??Static.btnFontFamily??Static.fontFamily
  );
}