copyWith method

  1. @useResult
FNestedHeaderStyle copyWith({
  1. TextStyle? titleTextStyle,
  2. FHeaderActionStyle? actionStyle,
  3. double? actionSpacing,
  4. EdgeInsets? padding,
})

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

Implementation

@useResult
FNestedHeaderStyle copyWith({
  TextStyle? titleTextStyle,
  FHeaderActionStyle? actionStyle,
  double? actionSpacing,
  EdgeInsets? padding,
}) =>
    FNestedHeaderStyle(
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      actionStyle: actionStyle ?? this.actionStyle,
      actionSpacing: actionSpacing ?? this.actionSpacing,
      padding: padding ?? this.padding,
    );