copyWith method
- @useResult
- FRootHeaderStyle? rootStyle,
- FNestedHeaderStyle? nestedStyle,
Returns a copy of this FHeaderStyles with the given properties replaced.
Implementation
@useResult
FHeaderStyles copyWith({
FRootHeaderStyle? rootStyle,
FNestedHeaderStyle? nestedStyle,
}) =>
FHeaderStyles(
rootStyle: rootStyle ?? this.rootStyle,
nestedStyle: nestedStyle ?? this.nestedStyle,
);