copyWith method

  1. @useResult
FHeaderStyles copyWith({
  1. FHeaderStyle rootStyle(
    1. FHeaderStyle style
    )?,
  2. FHeaderStyle nestedStyle(
    1. FHeaderStyle style
    )?,
})

Returns a copy of this FHeaderStyles with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FHeaderStyles copyWith({
  FHeaderStyle Function(FHeaderStyle style)? rootStyle,
  FHeaderStyle Function(FHeaderStyle style)? nestedStyle,
}) => FHeaderStyles(
  rootStyle: rootStyle != null ? rootStyle(this.rootStyle) : this.rootStyle,
  nestedStyle: nestedStyle != null ? nestedStyle(this.nestedStyle) : this.nestedStyle,
);