createCupertinoWidget method
Implementation
@override
CupertinoSwitch createCupertinoWidget(BuildContext context) {
final data = cupertino?.call(context, platform(context));
return CupertinoSwitch(
key: data?.widgetKey ?? widgetKey,
value: data?.value ?? value,
onChanged: data?.onChanged ?? onChanged,
activeColor: data?.activeColor ?? activeColor,
dragStartBehavior: data?.dragStartBehavior ??
dragStartBehavior ??
DragStartBehavior.start,
trackColor: data?.trackColor,
thumbColor: data?.thumbColor,
);
}