FCardContentStyle.inherit constructor

FCardContentStyle.inherit({
  1. required FColorScheme colorScheme,
  2. 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),
      );