copyWith method
- @override
- @useResult
- Color? borderColor,
- Color? selectedColor,
- Color? backgroundColor,
- TextStyle? labelTextStyle,
- TextStyle? descriptionTextStyle,
- TextStyle? errorTextStyle,
override
Returns a copy of this FRadioErrorStyle with the given properties replaced.
Implementation
@override
@useResult
FRadioErrorStyle copyWith({
Color? borderColor,
Color? selectedColor,
Color? backgroundColor,
TextStyle? labelTextStyle,
TextStyle? descriptionTextStyle,
TextStyle? errorTextStyle,
}) =>
FRadioErrorStyle(
borderColor: borderColor ?? this.borderColor,
selectedColor: selectedColor ?? this.selectedColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
);