Implementation
set apply(NikuSwitchListTile? v) {
if (v == null) return;
key = v.key ?? key;
value = v.value ?? value;
onChanged = v.onChanged ?? onChanged;
activeColor = v.activeColor ?? activeColor;
activeTrackColor = v.activeTrackColor ?? activeTrackColor;
inactiveThumbColor = v.inactiveThumbColor ?? inactiveThumbColor;
inactiveTrackColor = v.inactiveTrackColor ?? inactiveTrackColor;
activeThumbImage = v.activeThumbImage ?? activeThumbImage;
onActiveThumbImageError =
v.onActiveThumbImageError ?? onActiveThumbImageError;
inactiveThumbImage = v.inactiveThumbImage ?? inactiveThumbImage;
onInactiveThumbImageError =
v.onInactiveThumbImageError ?? onInactiveThumbImageError;
thumbColorState = v.thumbColorState ?? thumbColorState;
trackColorState = v.trackColorState ?? trackColorState;
trackOutlineColorState = v.trackOutlineColorState ?? trackOutlineColorState;
thumbIconState = v.thumbIconState ?? thumbIconState;
materialTapTargetSize = v.materialTapTargetSize ?? materialTapTargetSize;
dragStartBehavior = v.dragStartBehavior ?? dragStartBehavior;
mouseCursor = v.mouseCursor ?? mouseCursor;
overlayColorState = v.overlayColorState ?? overlayColorState;
splashRadius = v.splashRadius ?? splashRadius;
focusNode = v.focusNode ?? focusNode;
onFocusChange = v.onFocusChange ?? onFocusChange;
autofocus = v.autofocus ?? autofocus;
tileColor = v.tileColor ?? tileColor;
title = v.title ?? title;
subtitle = v.subtitle ?? subtitle;
secondary = v.secondary ?? secondary;
isThreeLine = v.isThreeLine ?? isThreeLine;
dense = v.dense ?? dense;
contentPadding = v.contentPadding ?? contentPadding;
selected = v.selected ?? selected;
controlAffinity = v.controlAffinity ?? controlAffinity;
shape = v.shape ?? shape;
selectedTileColor = v.selectedTileColor ?? selectedTileColor;
visualDensity = v.visualDensity ?? visualDensity;
enableFeedback = v.enableFeedback ?? enableFeedback;
hoverColor = v.hoverColor ?? hoverColor;
applyCupertinoTheme = v.applyCupertinoTheme ?? applyCupertinoTheme;
$parent..$merge(v.$parent);
}