getRobotoFontFamily static method

String getRobotoFontFamily(
  1. UFUFontWeight fontWeight
)

Implementation

static String getRobotoFontFamily(UFUFontWeight fontWeight) {
  switch (fontWeight) {
    case UFUFontWeight.regular:
      return 'RobotoRegular';
    case UFUFontWeight.medium:
      return 'RobotoMedium';
    case UFUFontWeight.bold:
      return 'RobotoBold';
    default:
      return 'RobotoRegular';
  }
}