copyWith method
- @override
- @useResult
- Duration? animationDuration,
- Curve? curve,
- FLabelLayoutStyle? labelLayoutStyle,
- FFocusedOutlineStyle? focusedOutlineStyle,
- FCheckboxStateStyle? enabledStyle,
- FCheckboxStateStyle? disabledStyle,
- FCheckboxErrorStyle? errorStyle,
- EdgeInsets? padding,
override
Returns a FCheckboxSelectGroupStyle that is a copy of this style with the given properties replaced.
Implementation
@override
@useResult
FCheckboxSelectGroupStyle copyWith({
Duration? animationDuration,
Curve? curve,
FLabelLayoutStyle? labelLayoutStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
FCheckboxStateStyle? enabledStyle,
FCheckboxStateStyle? disabledStyle,
FCheckboxErrorStyle? errorStyle,
EdgeInsets? padding,
}) =>
FCheckboxSelectGroupStyle(
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,
);