copyWith method

  1. @useResult
FIconStyle copyWith({
  1. Color? color,
  2. double? size,
})

Returns a copy of this FIconStyle but with the given fields replaced with the new values.

Implementation

@useResult
FIconStyle copyWith({Color? color, double? size}) => FIconStyle(
      color: color ?? this.color,
      size: size ?? this.size,
    );