mainTextTheme property
TextTheme
mainTextTheme
BASF Main text theme
Implementation
static TextTheme get mainTextTheme {
return const TextTheme(
displayLarge: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 42),
displayMedium: CustomTextStyle(
fontWeight: FontWeight.normal,
fontSize: 42,
),
displaySmall: CustomTextStyle(
fontWeight: FontWeight.normal,
fontSize: 32,
),
headlineMedium: CustomTextStyle(
fontWeight: FontWeight.bold,
fontSize: 20,
),
headlineSmall: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 16),
titleLarge: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 14),
bodyLarge: CustomTextStyle(fontWeight: FontWeight.normal, fontSize: 16),
bodyMedium: CustomTextStyle(fontWeight: FontWeight.normal, fontSize: 14),
titleMedium: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 16),
titleSmall: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 14),
bodySmall: CustomTextStyle(fontWeight: FontWeight.w700, fontSize: 14),
labelLarge: CustomTextStyle(fontWeight: FontWeight.bold, fontSize: 16),
labelSmall: CustomTextStyle(fontWeight: FontWeight.normal, fontSize: 12),
);
}