copyWith method
VCheckboxStyle
copyWith({
- Color? borderColor,
- dynamic borderColorDisabled,
- dynamic borderColorError,
- dynamic fillColor,
- dynamic fillColorPressed,
- dynamic fillColorDisabled,
- dynamic iconColor,
- dynamic iconColorError,
- dynamic textColor,
- dynamic textColorDisabled,
- dynamic textColorError,
- dynamic overlayColor,
- dynamic crossAxisAlignment,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VCheckboxStyle copyWith(
{Color? borderColor,
borderColorDisabled,
borderColorError,
fillColor,
fillColorPressed,
fillColorDisabled,
iconColor,
iconColorError,
textColor,
textColorDisabled,
textColorError,
overlayColor,
crossAxisAlignment}) =>
VCheckboxStyle(
borderColor: borderColor ?? this.borderColor,
borderColorDisabled: borderColorDisabled ?? this.borderColorDisabled,
borderColorError: borderColorError ?? this.borderColorError,
fillColor: fillColor ?? this.fillColor,
fillColorPressed: fillColorPressed ?? this.fillColorPressed,
fillColorDisabled: fillColorDisabled ?? this.fillColorDisabled,
iconColor: iconColor ?? this.iconColor,
iconColorError: iconColorError ?? this.iconColorError,
textColor: textColor ?? this.textColor,
textColorError: textColorError ?? this.textColorError,
textColorDisabled: textColorDisabled ?? this.textColorDisabled,
overlayColor: overlayColor ?? this.overlayColor,
crossAxisAlignment: crossAxisAlignment ?? this.crossAxisAlignment,
);