copyWith method
- @useResult
- IconThemeDataDelta? iconStyle,
- FCircularProgressMotionDelta? motion,
Returns a copy of this FCircularProgressStyle with the given properties replaced.
See customizing widget styles.
Parameters
- FCircularProgressStyle.iconStyle - The circular progress's style.
- FCircularProgressStyle.motion - The motion-related properties.
Implementation
@useResult
FCircularProgressStyle copyWith({IconThemeDataDelta? iconStyle, FCircularProgressMotionDelta? motion}) => .new(
iconStyle: iconStyle?.call(this.iconStyle) ?? this.iconStyle,
motion: motion?.call(this.motion) ?? this.motion,
);