copyWith method
- @useResult
- Color? backgroundColor,
- EdgeInsets? contentPadding,
- BoxDecoration? headerDecoration,
Returns a copy of this style with the provided properties replaced.
Implementation
@useResult
FScaffoldStyle copyWith({
Color? backgroundColor,
EdgeInsets? contentPadding,
BoxDecoration? headerDecoration,
BoxDecoration? footerDecoration,
}) =>
FScaffoldStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
contentPadding: contentPadding ?? this.contentPadding,
headerDecoration: headerDecoration ?? this.headerDecoration,
footerDecoration: footerDecoration ?? this.footerDecoration,
);