FRootHeaderStyle.inherit constructor
FRootHeaderStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FRootHeaderStyle that inherits its properties from the given FColorScheme, FTypography and FStyle.
Implementation
FRootHeaderStyle.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required FStyle style,
}) : titleTextStyle = typography.xl3.copyWith(
color: colorScheme.foreground,
fontWeight: FontWeight.w700,
height: 1,
),
actionStyle = FHeaderActionStyle.inherit(colorScheme: colorScheme, size: 30),
actionSpacing = 10,
padding = style.pagePadding.copyWith(bottom: 15);