copyWith method

  1. @useResult
FHeaderStyles copyWith({
  1. FHeaderStyle? rootStyle,
  2. 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);