Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_switch

A custom switch widget with configurable height, width, colors, borders, text, and toggle icons.

pub.devRemove
toggle_switch

A customizable toggle switch widget that maintains selection state and supports icons, text, and custom widgets.

pub.devRemove
ScoresHealth5050
Maintenance01 (best)
Quality9696
Popularity9396 (best)
Community69100 (best)
Compatibility100100
UsageDownloads (30 days)155k220k (best)
Likes6341.6k (best)
Pub points150 / 160150 / 160
GitHub stars79119 (best)
MaintenanceLatest release0.3.2, 5 years ago2.3.0, 3 years ago (best)
Major versions in 12 months00
Contributors611 (best)
Publishernickromero.devpramod.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Highly customizable dimensions, colors, borders, and border radius.
  • Supports custom text and icons (including images and font awesome icons) inside the toggle.
  • Smooth toggle and opacity animations.
  • Highly customizable with icons, text, custom widgets, and gradients.
  • Supports vertical orientation and RTL text directions.
  • Maintains selection state easily with callbacks and cancel toggle support.
Weaknesses
  • Limited to a single custom switch widget and its variations.
  • No complex form state management built-in beyond the standard onToggle callback.
  • Limited to toggle switch UI use cases.
  • No built-in form field controller integration documented.
WarningsNoneNone
flutter_switch vs toggle_switch: which Flutter package should you use? | pubscout