
ArcaneToggleSwitch
Use switches for immediate on/off settings.
Live Demo
Component: switch
Preview + Code
Code
bool syncEnabled = true;

ArcaneToggleSwitch(
  value: syncEnabled,
  label: 'Enable sync',
  onChanged: setSyncEnabled,
)

ArcaneToggleSwitch#

Use switches for immediate on/off settings.

The live preview and code sample above use the neutral package:arcane_jaspr/arcane_jaspr.dart API. The selected stylesheet owns spacing, density, radius, color, and interaction styling, so the same app code can render differently under Shadcn or Neon.

Source: lib/component/input/toggle_switch.dart

See the Component Catalog for the full exported surface and source mapping.