textTheme property
Follows Digit Typography standards
Implementation
@override
TextTheme get textTheme {
return TextTheme(
displayMedium: _big.copyWith(
fontSize: 32,
fontWeight: FontWeight.w700,
fontFamily: 'RobotoCondensed',
),
headlineLarge: _normal.copyWith(
fontSize: 24,
fontWeight: FontWeight.w700,
),
headlineMedium: _normal.copyWith(
fontSize: 20,
fontWeight: FontWeight.w700,
),
headlineSmall: _normal.copyWith(
fontSize: 16,
fontWeight: FontWeight.w700,
fontFamily: 'Roboto',
),
bodyLarge: _normal.copyWith(
fontSize: 16,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto',
),
bodyMedium: _normal.copyWith(
fontSize: 14,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto',
),
bodySmall: _normal.copyWith(
fontSize: 12,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto',
),
labelLarge: _normal.copyWith(
fontSize: 24,
fontWeight: FontWeight.w500,
),
labelMedium: _light.copyWith(
fontSize: 20,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto',
),
labelSmall: _normal.copyWith(
fontSize: 16,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto',
),
);
}