FHeaderStyles.inherit constructor

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