FRootHeaderStyle.inherit constructor

FRootHeaderStyle.inherit({
  1. required FColorScheme colorScheme,
  2. required FTypography typography,
  3. 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,
}) : this(
        titleTextStyle: typography.xl3.copyWith(
          color: colorScheme.foreground,
          fontWeight: FontWeight.w700,
          height: 1,
        ),
        actionStyle: FHeaderActionStyle.inherit(colorScheme: colorScheme, style: style, size: 30),
        padding: style.pagePadding.copyWith(bottom: 15),
      );