Implementation
NikuSwitch get copied => NikuSwitch(
value,
onChanged: onChanged,
activeColor: activeColor,
activeTrackColor: activeTrackColor,
inactiveThumbColor: inactiveThumbColor,
inactiveTrackColor: inactiveTrackColor,
activeThumbImage: activeThumbImage,
onActiveThumbImageError: onActiveThumbImageError,
inactiveThumbImage: inactiveThumbImage,
onInactiveThumbImageError: onInactiveThumbImageError,
materialTapTargetSize: materialTapTargetSize,
dragStartBehavior: dragStartBehavior,
mouseCursor: mouseCursor,
focusColor: focusColor,
hoverColor: hoverColor,
splashRadius: splashRadius,
focusNode: focusNode,
autofocus: autofocus,
thumbColorState: thumbColorState,
trackColorState: trackColorState,
overlayColorState: overlayColorState,
thumbIconState: thumbIconState,
adaptive: adaptive,
cupertino: cupertino,
)..$parent.$merge($parent);