FCardStyle.inherit constructor
FCardStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FCardStyle that inherits its properties from colorScheme
, typography
and style
.
Implementation
FCardStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
: this(
decoration: BoxDecoration(
border: Border.all(color: colorScheme.border),
borderRadius: style.borderRadius,
color: colorScheme.background,
),
contentStyle: FCardContentStyle.inherit(colorScheme: colorScheme, typography: typography),
);