copyWith method

  1. @override
  2. @useResult
FRadioSelectGroupStyle copyWith({
  1. Duration? animationDuration,
  2. Curve? curve,
  3. FLabelLayoutStyle? labelLayoutStyle,
  4. FFocusedOutlineStyle? focusedOutlineStyle,
  5. FRadioStateStyle? enabledStyle,
  6. FRadioStateStyle? disabledStyle,
  7. FRadioErrorStyle? errorStyle,
  8. EdgeInsets? padding,
})
override

Returns a FRadioSelectGroupStyle that is a copy of this style with the given properties replaced.

Implementation

@override
@useResult
FRadioSelectGroupStyle copyWith({
  Duration? animationDuration,
  Curve? curve,
  FLabelLayoutStyle? labelLayoutStyle,
  FFocusedOutlineStyle? focusedOutlineStyle,
  FRadioStateStyle? enabledStyle,
  FRadioStateStyle? disabledStyle,
  FRadioErrorStyle? errorStyle,
  EdgeInsets? padding,
}) =>
    FRadioSelectGroupStyle(
      animationDuration: animationDuration ?? this.animationDuration,
      curve: curve ?? this.curve,
      labelLayoutStyle: labelLayoutStyle ?? this.labelLayoutStyle,
      focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
      enabledStyle: enabledStyle ?? this.enabledStyle,
      disabledStyle: disabledStyle ?? this.disabledStyle,
      errorStyle: errorStyle ?? this.errorStyle,
      padding: padding ?? this.padding,
    );