WE ARE HIRING • WE ARE HIRING • 
Flutter · Pub.devFlutter package on pub.dev

Flutter Toggle Switch 0.0.1

0.0.1

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 […]

MIT license
Free to use
Actively maintained
$flutter pub add flutter_toggle_switch_0_0_1

Package stats

0Downloads
0Likes
0Points
LicenseMIT
PlatformFlutter
LanguageDart

Need this integrated or customized for your app?

Get a free quote

MIT License

Free & open source forever

Dart Native

100% pure Dart code

Cross Platform

iOS, Android, Web & Desktop

Community

Actively maintained

Key points

Everything this package offers

Everything you need to ship faster, built right into the package.

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.

Design-system ready.

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.

Specialized switches included.

PulseToggleSwitch, DayNightToggleSwitch, PowerToggleSwitch, and SegmentBarToggleSwitch handle common binary-state patterns with polished, themed animations out of the box.

Production details built in.

Haptic feedback, async cancel guards, shimmer effects, icon wiggle, semantic labels, and keyboard navigation are all first-class parameters — no custom wrappers required.

Zero boilerplate.

Drop in the widget, pass your labels, wire onToggle, done.

About

What is Flutter Toggle Switch 0.0.1?

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?

  • 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.
  • Design-system ready. 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.
  • Specialized switches included. PulseToggleSwitch, DayNightToggleSwitch, PowerToggleSwitch, and SegmentBarToggleSwitch handle common binary-state patterns with polished, themed animations out of the box.
  • Production details built in. Haptic feedback, async cancel guards, shimmer effects, icon wiggle, semantic labels, and keyboard navigation are all first-class parameters — no custom wrappers required.
  • Zero boilerplate. Drop in the widget, pass your labels, wire 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

Get started in seconds

Add the package to your project and you're ready to use it.

1

Install the package

Add it to your pubspec.yaml with the pub CLI.

$flutter pub add flutter_toggle_switch_0_0_1
2

Fetch dependencies

Run pub get so the package resolves correctly.

$flutter pub get
3

Import and use it

Import the package in your Dart file and drop in the widget.

$import 'package:flutter_toggle_switch_0_0_1/flutter_toggle_switch_0_0_1.dart';

Ready to build something great?

Integrate Flutter Toggle Switch 0.0.1 into your project today, or let our team customize it for you.

Related
Packages

More Flutter Packages

Icloud Storage Sync
Flutter · Pub.devFlutter · Pub.dev

Icloud Storage Sync

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 […]

167
44
140
Islamic Hijri Calendar
Flutter · Pub.devFlutter · Pub.dev

Islamic Hijri Calendar

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, […]

78
42
140
Rating And Feedback Collector
Flutter · Pub.devFlutter · Pub.dev

Rating And Feedback Collector

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 […]

78
37
140
Twilio Voice Flutter
Flutter · Pub.devFlutter · Pub.dev

Twilio Voice Flutter

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. […]

201
25
150