value property

double get value

Implementation

double get value {
  switch (this) {
    case AppFontSize.verySmall:
      return 10.sp;
    case AppFontSize.small:
      return 12.sp;
    case AppFontSize.medium:
      return 14.sp;
    case AppFontSize.large:
      return 16.sp;
    case AppFontSize.info:
      return 18.sp;
    case AppFontSize.dashboardTitle:
      return 24.sp;
    case AppFontSize.dashboardDescription:
      return 18.sp;
    case AppFontSize.appTitle:
      return 36.sp;
    case AppFontSize.appLargeTitle:
      return 40.sp;
    case AppFontSize.veryLargeTitle:
      return 44.sp;
    default:
      return 24.sp;
  }
}