flutter_toggle_switch: One Package for Every Toggle UI in Flutter
flutter_toggle_switch is an all-in-one solution for toggle switches, segmented controls, and tab navigation in Flutter. Instead of relying on multiple packages or custom widgets, you get a single FlutterToggle widget that supports everything from simple two-state switches to animated multi-tab navigation.
Why Choose flutter_toggle_switch?
- Multiple UI styles — Pill toggles, underline tabs, card tabs, and blob navigation.
- Customizable designs — Includes Solid, Glass, Neumorphic, Outlined, Tonal, Floating, and Aurora styles.
- Smooth animations — Slide, Fade, Scale, Elastic, and Morph transitions.
- Ready-made switches — PulseToggleSwitch, DayNightToggleSwitch, PowerToggleSwitch, and SegmentBarToggleSwitch.
- Production-ready — Haptic feedback, accessibility support, keyboard navigation, shimmer effects, and async guards built in.
Zero Boilerplate
Simply add the widget, provide your labels, connect the onToggle callback, and you're ready to go. No custom painters, no complex animations, and no extra dependencies.
Final Thoughts
Whether you need a simple switch or a fully animated tab navigation system, flutter_toggle_switch provides a consistent, customizable, and developer-friendly solution—all in a single package.



