create method
Implementation
@override
Widget create(SwitchWidgetData data, Environment environment, BuildContext context) {
// In edit mode, make the text field non-interactive
return IgnorePointer(
ignoring: true,
child: Switch(
value: false,
onChanged: (bool newValue) {},
),
);
}