copyWith method
- @useResult
- Duration? animationDuration,
- Curve? curve,
- FLabelLayoutStyle? labelLayoutStyle,
- FRadioStateStyle? enabledStyle,
- FRadioStateStyle? disabledStyle,
- FRadioErrorStyle? errorStyle,
Returns a copy of this FRadioStyle with the given properties replaced.
Implementation
@useResult
FRadioStyle copyWith({
Duration? animationDuration,
Curve? curve,
FLabelLayoutStyle? labelLayoutStyle,
FRadioStateStyle? enabledStyle,
FRadioStateStyle? disabledStyle,
FRadioErrorStyle? errorStyle,
}) =>
FRadioStyle(
animationDuration: animationDuration ?? this.animationDuration,
curve: curve ?? this.curve,
labelLayoutStyle: labelLayoutStyle ?? this.labelLayoutStyle,
enabledStyle: enabledStyle ?? this.enabledStyle,
disabledStyle: disabledStyle ?? this.disabledStyle,
errorStyle: errorStyle ?? this.errorStyle,
);