copyWith method

  1. @useResult
FScaffoldStyle copyWith({
  1. SystemUiOverlayStyle? systemOverlayStyle,
  2. Color? backgroundColor,
  3. Color? sidebarBackgroundColor,
  4. EdgeInsetsGeometry? childPadding,
  5. BoxDecoration? headerDecoration,
  6. BoxDecoration? footerDecoration,
})

Returns a copy of this FScaffoldStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FScaffoldStyle copyWith({
  SystemUiOverlayStyle? systemOverlayStyle,
  Color? backgroundColor,
  Color? sidebarBackgroundColor,
  EdgeInsetsGeometry? childPadding,
  BoxDecoration? headerDecoration,
  BoxDecoration? footerDecoration,
}) => FScaffoldStyle(
  systemOverlayStyle: systemOverlayStyle ?? this.systemOverlayStyle,
  backgroundColor: backgroundColor ?? this.backgroundColor,
  sidebarBackgroundColor: sidebarBackgroundColor ?? this.sidebarBackgroundColor,
  childPadding: childPadding ?? this.childPadding,
  headerDecoration: headerDecoration ?? this.headerDecoration,
  footerDecoration: footerDecoration ?? this.footerDecoration,
);