FScaffoldStyle.inherit constructor

FScaffoldStyle.inherit({
  1. required FColors colors,
  2. required FStyle style,
})

Creates a FScaffoldStyle that inherits its properties.

Implementation

FScaffoldStyle.inherit({required FColors colors, required FStyle style})
  : this(
      backgroundColor: colors.background,
      sidebarBackgroundColor: colors.background,
      childPadding: style.pagePadding.copyWith(top: 0, bottom: 0),
      footerDecoration: BoxDecoration(
        border: Border(
          top: BorderSide(color: colors.border, width: style.borderWidth),
        ),
      ),
    );