maslowTextTheme property
TextTheme
get
maslowTextTheme
Implementation
TextTheme get maslowTextTheme {
final base = this;
return base.copyWith(
displayLarge: base.displayLarge?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 57,
letterSpacing: -0.25,
),
displayMedium: base.displayMedium?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 45,
),
displaySmall: base.displaySmall?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 36,
),
headlineLarge: base.headlineLarge?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 32,
),
headlineMedium: base.headlineMedium?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 28,
),
headlineSmall: base.headlineSmall?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 24,
),
titleLarge: base.titleLarge?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 22,
),
titleMedium: base.titleMedium?.copyWith(
fontWeight: FontWeight.w600,
fontSize: 16,
letterSpacing: 0.15,
),
titleSmall: base.titleSmall?.copyWith(
fontWeight: FontWeight.w600,
fontSize: 14,
letterSpacing: 0.1,
),
bodyLarge: base.bodyLarge?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 16,
letterSpacing: 0.5,
),
bodyMedium: base.bodyMedium?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 14,
letterSpacing: 0.25,
),
bodySmall: base.bodySmall?.copyWith(
fontWeight: FontWeight.w400,
fontSize: 12,
letterSpacing: 0.4,
),
labelLarge: base.labelLarge?.copyWith(
fontWeight: FontWeight.w600,
fontSize: 14,
letterSpacing: 0.1,
),
labelMedium: base.headlineMedium?.copyWith(
fontWeight: FontWeight.w600,
fontSize: 12,
letterSpacing: 0.5,
),
labelSmall: base.labelSmall?.copyWith(
fontWeight: FontWeight.w600,
fontSize: 11,
letterSpacing: 0.5,
),
);
}