getFontFamily static method

String getFontFamily(
  1. UFUFontFamily fontFamily,
  2. UFUFontWeight fontWeight
)

Return fontFamily of a text and default textSize is UFUFontFamily.roboto

Implementation

static String getFontFamily(
  UFUFontFamily fontFamily,
  UFUFontWeight fontWeight,
) {
  switch (fontFamily) {
    case UFUFontFamily.productSans:
      return getRobotoFontFamily(fontWeight);
    // default:
    //   return 'productSans';
  }
}