ChatUIKitFont.fontSize constructor

ChatUIKitFont.fontSize([
  1. ChatUIKitFontSize fontSize = ChatUIKitFontSize.normal
])

Implementation

ChatUIKitFont.fontSize([
  this.fontSize = ChatUIKitFontSize.normal,
])  : headlineLarge = TextStyle(
          fontSize: 20 + fontSize.getSize, fontWeight: FontWeight.w600),
      headlineMedium = TextStyle(
          fontSize: 18 + fontSize.getSize, fontWeight: FontWeight.w600),
      headlineSmall = TextStyle(
          fontSize: 16 + fontSize.getSize, fontWeight: FontWeight.w600),
      titleLarge = TextStyle(
          fontSize: 18 + fontSize.getSize, fontWeight: FontWeight.w500),
      titleMedium = TextStyle(
          fontSize: 16 + fontSize.getSize, fontWeight: FontWeight.w500),
      titleSmall = TextStyle(
          fontSize: 14 + fontSize.getSize, fontWeight: FontWeight.w500),
      labelLarge = TextStyle(
          fontSize: 16 + fontSize.getSize, fontWeight: FontWeight.w500),
      labelMedium = TextStyle(
          fontSize: 14 + fontSize.getSize, fontWeight: FontWeight.w500),
      labelSmall = TextStyle(
          fontSize: 12 + fontSize.getSize, fontWeight: FontWeight.w500),
      labelExtraSmall = TextStyle(
          fontSize: 11 + fontSize.getSize, fontWeight: FontWeight.w400),
      bodyLarge = TextStyle(
          fontSize: 16 + fontSize.getSize, fontWeight: FontWeight.w400),
      bodyMedium = TextStyle(
          fontSize: 14 + fontSize.getSize, fontWeight: FontWeight.w400),
      bodySmall = TextStyle(
          fontSize: 12 + fontSize.getSize, fontWeight: FontWeight.w400),
      bodyExtraSmall = TextStyle(
          fontSize: 11 + fontSize.getSize, fontWeight: FontWeight.w400);