copyWith method
- @useResult
- FLabelLayoutStyle? labelLayoutStyle,
- FSelectGroupStateStyle? enabledStyle,
- FSelectGroupStateStyle? disabledStyle,
- FSelectGroupErrorStyle? errorStyle,
- FCheckboxSelectGroupStyle? checkboxStyle,
- FRadioSelectGroupStyle? radioStyle,
Returns a copy of this FSelectGroupStyle with the given properties replaced.
Implementation
@useResult
FSelectGroupStyle copyWith({
FLabelLayoutStyle? labelLayoutStyle,
FSelectGroupStateStyle? enabledStyle,
FSelectGroupStateStyle? disabledStyle,
FSelectGroupErrorStyle? errorStyle,
FCheckboxSelectGroupStyle? checkboxStyle,
FRadioSelectGroupStyle? radioStyle,
}) =>
FSelectGroupStyle(
labelLayoutStyle: labelLayoutStyle ?? this.labelLayoutStyle,
enabledStyle: enabledStyle ?? this.enabledStyle,
disabledStyle: disabledStyle ?? this.disabledStyle,
errorStyle: errorStyle ?? this.errorStyle,
checkboxStyle: checkboxStyle ?? this.checkboxStyle,
radioStyle: radioStyle ?? this.radioStyle,
);