One widget, many shapes.
FlutterToggle covers pill toggles, underline tabs, stacked card tabs, and magnetic blob navigation — all driven by the same onToggle callback and initialLabelIndex.
flutter_toggle_switch is a single-package solution for every toggle, switch, and tab bar UI pattern you need in a Flutter app. Instead of stitching together multiple libraries or building custom painted widgets from scratch, you get one unified FlutterToggle widget with a declarative API that scales from a simple two-state switch to a fully animated multi-tab navigation bar. Why […]
Need this integrated or customized for your app?
Get a free quoteMIT License
Free & open source forever
Dart Native
100% pure Dart code
Cross Platform
iOS, Android, Web & Desktop
Community
Actively maintained
Key points
Everything you need to ship faster, built right into the package.
FlutterToggle covers pill toggles, underline tabs, stacked card tabs, and magnetic blob navigation — all driven by the same onToggle callback and initialLabelIndex.
Seven decoration styles (solid, glass, neumorphic, outlined, tonal, floating, aurora) and five animation styles (slide, fade, scale, elastic, morph) let you match any design language without custom painters.
PulseToggleSwitch, DayNightToggleSwitch, PowerToggleSwitch, and SegmentBarToggleSwitch handle common binary-state patterns with polished, themed animations out of the box.
Haptic feedback, async cancel guards, shimmer effects, icon wiggle, semantic labels, and keyboard navigation are all first-class parameters — no custom wrappers required.
Drop in the widget, pass your labels, wire onToggle, done.
About
flutter_toggle_switch is a single-package solution for every toggle, switch, and tab bar UI pattern you need in a Flutter app. Instead of stitching together multiple libraries or building custom painted widgets from scratch, you get one unified FlutterToggle widget with a declarative API that scales from a simple two-state switch to a fully animated multi-tab navigation bar.
Why this package?
FlutterToggle covers pill toggles, underline tabs, stacked card tabs, and magnetic blob navigation — all driven by the same onToggle callback and initialLabelIndex.PulseToggleSwitch, DayNightToggleSwitch, PowerToggleSwitch, and SegmentBarToggleSwitch handle common binary-state patterns with polished, themed animations out of the box.onToggle, done.Dart native. 100% pure Dart code with no external platform dependencies.
Cross platform. Runs identically on iOS, Android, web, and desktop.
MIT licensed. Free and open source, forever.
Community backed. Actively maintained by the Mind Stack Labs team.
Quick start
Add the package to your project and you're ready to use it.
Add it to your pubspec.yaml with the pub CLI.
Run pub get so the package resolves correctly.
Import the package in your Dart file and drop in the widget.
Integrate Flutter Toggle Switch 0.0.1 into your project today, or let our team customize it for you.

iCloud Storage Sync is a Flutter plugin that enables apps to securely store and synchronize data with Apple’s iCloud. It ensures that user data remains consistent across multiple Apple devices by automatically syncing changes in real time. The plugin supports seamless integration with Flutter apps, providing developers with simple APIs to save, update, and retrieve […]

Islamic Hijri Calendar is a Flutter widget that allows developers to display and manage Islamic Hijri calendar dates within their applications. It shows dates in both Arabic and English numerals, along with Hijri month names and years, making it useful for apps that need Islamic date support. The widget provides easy month navigation, customizable colors, […]

Rating And Feedback Collector is a Flutter package that helps developers easily add interactive rating and feedback systems to their apps. It supports customizable rating bars using icons, emojis, or custom images, with options for both full and half ratings. The package also includes dynamic feedback dialogs, allowing apps to collect user feedback when ratings […]

Twilio Voice Flutter is a Flutter plugin that allows developers to seamlessly add voice-over-IP (VoIP) calling capabilities to their mobile applications. With this plugin, apps can make and receive calls over the internet, manage call events such as incoming, outgoing, or missed calls, and integrate directly with the Twilio Voice SDK for robust telephony features. […]