NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1374 most downloaded on pub.dev
Fully customizable, draggable and animated switch with multiple choices and smooth loading animation. It has prebuilt constructors for rolling and size animations.
Last release 9 months ago
09 Jan 2026
Release timing varies
gaps range from 2 weeks to 8 months
Nearly every release is documented
notes for 26 of 26 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
37 releases · first in 2021
fixes #69
fixes #67
One column per quarter.
adds padding to AnimatedToggleSwitch
padding to AnimatedToggleSwitch (#65)removes usage of deprecated members
ToggleStyle to ThemeData as ThemeExtensionadds support for vertical switches
adds clipBehavior to AnimatedToggleSwitch
clipBehavior to AnimatedToggleSwitch (#56)adds indicatorGradient to ToggleStyle
adds tests for all AnimatedToggleSwitch constructors
AnimatedToggleSwitch constructorsseparatorBuilder, customSeparatorBuilder, style and styleAnimationType to AnimatedToggleSwitchseparatorBuilder to CustomAnimatedToggleSwitchactive to all constructors (#30)styleBuilder and styleList to AnimatedToggleSwitchiconList to AnimatedToggleSwitch.size, AnimatedToggleSwitch.sizeByHeight, AnimatedToggleSwitch.rolling and AnimatedToggleSwitch.rollingByHeightAnimatedToggleSwitch to style:
innerColor (renamed to backgroundColor)innerGradient (renamed to backgroundGradient)borderColorindicatorColorborderRadiusindicatorBorderColorindicatorBorderindicatorBorderforegroundBoxShadow (renamed to indicatorBoxShadow)boxShadowcursorsborderColorBuilder in favor of the new styleBuilderindicatorAnimationType handles ToggleStyle.indicatorColor, ToggleStyle.indicatorBorderRadius, ToggleStyle.indicatorBorder and ToggleStyle.indicatorBoxShadow nowonTap (#41)ThemeData.scaffoldBackgroundColor to ThemeData.colorScheme.surfacedif to spacing in all constructorstransitionType with indicatorTransition in AnimatedToggleSwitch.rolling(),AnimatedToggleSwitch.rollingByHeight() and AnimatedToggleSwitch.dual()iconSize and selectedIconSize in AnimatedToggleSwitch constructors
rolling(), rollingByHeight(), dual(): new parameter indicatorIconScale controls scaling nowsize(), sizeByHeight(): new parameter selectedIconScale controls scaling nowadds parameter to onTap
onTap (#41)fixes AnimationType.onHover
AnimationType.onHoverNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
adds possibility that no valid value is selected (by setting allowUnlistedValues to true)
allowUnlistedValues to true)allowUnlistedValues, indicatorAppearingBuilder, indicatorAppearingDuration, indicatorAppearingCurveadds screenshot to pubspec.yaml
adds examples for loading animation to README
BREAKING: increases minimum SDK to 2.17
value to current and previousValue to previous in DetailedGlobalTogglePropertiesloading to false.innerGradient to AnimatedToggleSwitchtransitionType to AnimatedToggleSwitch.rolling, AnimatedToggleSwitch.rollingByHeight and AnimatedToggleSwitch.dualadds dragCursor and draggingCursor to CustomAnimatedToggleSwitch
dragCursor and draggingCursor to CustomAnimatedToggleSwitchiconsTappable, defaultCursor, dragCursor and draggingCursor to AnimatedToggleSwitch- fixes
fixes problems with tight constraints
animationOffset and clipAnimation in AnimatedToggleSwitch.dualminor fixes and performance improvements
indicatorBorderRadius to AnimatedToggleSwitchanimationOffset, clipAnimation and opacityAnimation to AnimatedToggleSwitch.dualanimationOffset, clipAnimation and opacityAnimation in AnimatedToggleSwitch.dualforegroundBorder to indicatorBorder- minor fixes
introduces CustomAnimatedToggleSwitch for maximum customizability
CustomAnimatedToggleSwitch for maximum customizabilityAnimatedToggleSwitch have a standard and a more customizable parameter for their builders nowTextDirection.rtlminTouchTargetSize, dragStartDuration, dragStartCurve and textDirection to AnimatedToggleSwitchTextDirection is taken from BuildContext by default now!!!AnimatedToggleSwitch.byHeight to AnimatedToggleSwitch.customByHeighttextMargin to AnimatedToggleSwitch.dualNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
BREAKING: removes indicatorType
indicatorTypeinnerColorBoxShadow parameters- minor performance improvements
- migrates to Flutter 2.5 - minor changes/fixes
fixes FittingMode.preventHorizontalOverlapping
FittingMode.preventHorizontalOverlapping- updates README.md
adds some settings (AnimationType)
AnimatedToggleSwitch.dualAnimationType)- minor fix
- initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →