FHeaderStyles.inherit constructor
FHeaderStyles.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FHeaderStyles that inherits its properties from the given FColorScheme, FTypography and FStyle.
Implementation
FHeaderStyles.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required FStyle style,
}) : rootStyle = FRootHeaderStyle.inherit(colorScheme: colorScheme, typography: typography, style: style),
nestedStyle = FNestedHeaderStyle.inherit(colorScheme: colorScheme, typography: typography, style: style);