copyWith method
Returns a copy of this FButtonSpinnerStyle with the given properties replaced.
Implementation
@useResult
FButtonSpinnerStyle copyWith({
Duration? animationDuration,
Color? enabledSpinnerColor,
Color? disabledSpinnerColor,
double? spinnerSize,
}) =>
FButtonSpinnerStyle(
animationDuration: animationDuration ?? this.animationDuration,
enabledSpinnerColor: enabledSpinnerColor ?? this.enabledSpinnerColor,
disabledSpinnerColor: disabledSpinnerColor ?? this.disabledSpinnerColor,
spinnerSize: spinnerSize ?? this.spinnerSize,
);