copyWith method

  1. @useResult
FHeaderActionStyle copyWith({
  1. Color? enabledColor,
  2. Color? disabledColor,
  3. double? size,
  4. FFocusedOutlineStyle? focusedOutlineStyle,
})

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

Implementation

@useResult
FHeaderActionStyle copyWith({
  Color? enabledColor,
  Color? disabledColor,
  double? size,
  FFocusedOutlineStyle? focusedOutlineStyle,
}) =>
    FHeaderActionStyle(
      enabledColor: enabledColor ?? this.enabledColor,
      disabledColor: disabledColor ?? this.disabledColor,
      size: size ?? this.size,
      focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
    );