copyWith method
- @useResult
- IconThemeData? iconStyle,
- FCircularProgressMotion motion(
- FCircularProgressMotion motion
Returns a copy of this FCircularProgressStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FCircularProgressStyle.iconStyle - The circular progress's style.
- FCircularProgressStyle.motion - The motion-related properties.
Implementation
@useResult
FCircularProgressStyle copyWith({
IconThemeData? iconStyle,
FCircularProgressMotion Function(FCircularProgressMotion motion)? motion,
}) => FCircularProgressStyle(
iconStyle: iconStyle ?? this.iconStyle,
motion: motion != null ? motion(this.motion) : this.motion,
);