FNestedHeaderStyle.inherit constructor
FNestedHeaderStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FNestedHeaderStyle that inherits its properties from the given FColorScheme, FTypography and FStyle.
Implementation
FNestedHeaderStyle.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required FStyle style,
}) : this(
titleTextStyle: typography.xl.copyWith(color: colorScheme.foreground, fontWeight: FontWeight.w600, height: 1),
actionStyle: FHeaderActionStyle.inherit(colorScheme: colorScheme, style: style, size: 25),
padding: style.pagePadding.copyWith(bottom: 15),
);