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