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