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