copyWith method

  1. @useResult
FSelectGroupStyle copyWith({
  1. FLabelLayoutStyle? labelLayoutStyle,
  2. FSelectGroupStateStyle? enabledStyle,
  3. FSelectGroupStateStyle? disabledStyle,
  4. FSelectGroupErrorStyle? errorStyle,
  5. FCheckboxSelectGroupStyle? checkboxStyle,
  6. 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,
    );