copyWith method
Creates a copy of this SheetWidgetSizes with the given fields replaced by new values.
Any fields that are not provided will retain their current values.
Returns a new SheetWidgetSizes instance with updated properties.
Implementation
SheetWidgetSizes copyWith({
double? topHeader,
double? header,
double? content,
double? footer,
}) =>
SheetWidgetSizes(
topHeader: topHeader ?? this.topHeader,
header: header ?? this.header,
content: content ?? this.content,
footer: footer ?? this.footer,
);