copyWith method
- @useResult
- FHeaderStyle? rootStyle,
- FHeaderStyle? nestedStyle,
inherited
Returns a copy of this FHeaderStyles with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FHeaderStyles copyWith({FHeaderStyle? rootStyle, FHeaderStyle? nestedStyle}) =>
FHeaderStyles(rootStyle: rootStyle ?? this.rootStyle, nestedStyle: nestedStyle ?? this.nestedStyle);