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
non_uniform_border

Provides a custom ShapeBorder allowing different widths for each side with a single color.

pub.devRemove
ScoresHealth5061 (best)
Maintenance049 (best)
Quality96100 (best)
Popularity93 (best)48
Community69 (best)11
Compatibility100100
UsageDownloads (30 days)155k (best)6.7k
Likes634 (best)20
Pub points150 / 160160 / 160 (best)
GitHub stars79 (best)23
MaintenanceLatest release0.3.2, 5 years ago1.0.2, 4 days ago (best)
Major versions in 12 months00
Contributors6 (best)2
Publishernickromero.devUnverified
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.
  • Allows different widths for each side of a border
  • Supports border radius and custom alignments
  • Provides convenient constructors like symmetrical and all
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 a single color for the entire border
  • Not documented for gradient or multi-color border support
WarningsNoneNone
flutter_switch vs non_uniform_border: which Flutter package should you use? | pubscout