FCardContentStyle.inherit constructor
FCardContentStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
Creates a FCardContentStyle that inherits its properties from colorScheme
and typography
.
Implementation
FCardContentStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
: this(
titleTextStyle: typography.xl2.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.foreground,
height: 1.5,
),
subtitleTextStyle: typography.sm.copyWith(color: colorScheme.mutedForeground),
);