PassiveSwitchWidget constructor
const
PassiveSwitchWidget({
- Key? key,
- required SwitchNode node,
- required WidgetBuildSettings settings,
- void onChanged(
- BuildContext context,
- bool value
- List<
VariableData> variablesOverrides = const [],
Implementation
const PassiveSwitchWidget({
super.key,
required this.node,
required this.settings,
this.onChanged,
this.variablesOverrides = const [],
});