FScaffoldStyle.inherit constructor
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),
),
),
);