copyWith method

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

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

Implementation

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