copyWith method

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