copyWith method

  1. @useResult
FCircularProgressStyle copyWith({
  1. IconThemeDataDelta? iconStyle,
  2. FCircularProgressMotionDelta? motion,
})

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

See customizing widget styles.

Parameters

Implementation

@useResult
FCircularProgressStyle copyWith({IconThemeDataDelta? iconStyle, FCircularProgressMotionDelta? motion}) => .new(
  iconStyle: iconStyle?.call(this.iconStyle) ?? this.iconStyle,
  motion: motion?.call(this.motion) ?? this.motion,
);