getFontFamily function

void getFontFamily(
  1. String languageCode
)

Implementation

void getFontFamily(String languageCode) {
  if (languageCode == LanguageCode.languageKh) {
    textStyle =
        GoogleFonts.battambang(fontSize: 18, fontWeight: FontWeight.w500);
  } else {
    textStyle = GoogleFonts.roboto(fontSize: 18, fontWeight: FontWeight.w500);
  }
}