PassiveSwitchWidget constructor

const PassiveSwitchWidget({
  1. Key? key,
  2. required SwitchNode node,
  3. required WidgetBuildSettings settings,
  4. void onChanged(
    1. BuildContext context,
    2. bool value
    )?,
  5. List<VariableData> variablesOverrides = const [],
})

Implementation

const PassiveSwitchWidget({
  super.key,
  required this.node,
  required this.settings,
  this.onChanged,
  this.variablesOverrides = const [],
});