- fixes #69
- fixes #67
- adds
paddingtoAnimatedToggleSwitch(#65)
- adds option to add
ToggleStyletoThemeDataasThemeExtension - removes usage of deprecated members
- adds support for vertical switches (#61)
- adds
clipBehaviortoAnimatedToggleSwitch(#56)
- adds
indicatorGradienttoToggleStyle(#44) - fixes problems with
backgroundGradientandbackgroundColor(#46) - adds
AnimationType.none - introduces
positionListener(#50) - fixes #51
- adds tests for all
AnimatedToggleSwitchconstructors - adds
separatorBuilder,customSeparatorBuilder,styleandstyleAnimationTypetoAnimatedToggleSwitch - adds
separatorBuildertoCustomAnimatedToggleSwitch - adds
activeto all constructors (#30) - adds
styleBuilderandstyleListtoAnimatedToggleSwitch - adds
iconListtoAnimatedToggleSwitch.size,AnimatedToggleSwitch.sizeByHeight,AnimatedToggleSwitch.rollingandAnimatedToggleSwitch.rollingByHeight - BREAKING: moves many parameters in
AnimatedToggleSwitchtostyle:innerColor(renamed tobackgroundColor)innerGradient(renamed tobackgroundGradient)borderColorindicatorColorborderRadiusindicatorBorderColorindicatorBorderindicatorBorderforegroundBoxShadow(renamed toindicatorBoxShadow)boxShadow
- BREAKING: moves all cursor parameters to
cursors - BREAKING: removes
borderColorBuilderin favor of the newstyleBuilder - BREAKING:
indicatorAnimationTypehandlesToggleStyle.indicatorColor,ToggleStyle.indicatorBorderRadius,ToggleStyle.indicatorBorderandToggleStyle.indicatorBoxShadownow - BREAKING: adds parameter to
onTap(#41) - BREAKING: changes default background color from
ThemeData.scaffoldBackgroundColortoThemeData.colorScheme.surface - BREAKING: renames
diftospacingin all constructors - BREAKING: replaces
transitionTypewithindicatorTransitioninAnimatedToggleSwitch.rolling(),AnimatedToggleSwitch.rollingByHeight()andAnimatedToggleSwitch.dual() - BREAKING: removes
iconSizeandselectedIconSizeinAnimatedToggleSwitchconstructorsrolling(),rollingByHeight(),dual(): new parameterindicatorIconScalecontrols scaling nowsize(),sizeByHeight(): new parameterselectedIconScalecontrols scaling now
- adds possibility that no valid value is selected (by setting
allowUnlistedValuestotrue) - adds new parameters to almost all constructors:
allowUnlistedValues,indicatorAppearingBuilder,indicatorAppearingDuration,indicatorAppearingCurve
- adds screenshot to pubspec.yaml
- adds examples for loading animation to README
- fixes README
- fixes (#28)
- BREAKING: increases minimum SDK to 2.17
- BREAKING: renames
valuetocurrentandpreviousValuetopreviousinDetailedGlobalToggleProperties - BREAKING feature: Adds loading animation to all switches. You can disable it by setting
loadingto false. - adds
innerGradienttoAnimatedToggleSwitch - adds
transitionTypetoAnimatedToggleSwitch.rolling,AnimatedToggleSwitch.rollingByHeightandAnimatedToggleSwitch.dual
- minor performance improvement
- minor fixes
- improves code documentation
- adds
dragCursoranddraggingCursortoCustomAnimatedToggleSwitch - adds
iconsTappable,defaultCursor,dragCursoranddraggingCursortoAnimatedToggleSwitch
- fixes (#20)
- minor performance improvement
- fixes problems with tight constraints
- BREAKING: changes default values of
animationOffsetandclipAnimationinAnimatedToggleSwitch.dual
- minor fixes and performance improvements
- adds
indicatorBorderRadiustoAnimatedToggleSwitch - adds
animationOffset,clipAnimationandopacityAnimationtoAnimatedToggleSwitch.dual - BREAKING: sets default values of
animationOffset,clipAnimationandopacityAnimationinAnimatedToggleSwitch.dual - BREAKING: renames
foregroundBordertoindicatorBorder
- minor fixes
- introduces
CustomAnimatedToggleSwitchfor maximum customizability - most constructors of
AnimatedToggleSwitchhave a standard and a more customizable parameter for their builders now - full support of
TextDirection.rtl - adds animation when dragging the switch
- adds
minTouchTargetSize,dragStartDuration,dragStartCurveandtextDirectiontoAnimatedToggleSwitch - BREAKING:
TextDirectionis taken fromBuildContextby default now!!! - BREAKING: changes parameters and names of some builders
- BREAKING: renames
AnimatedToggleSwitch.byHeighttoAnimatedToggleSwitch.customByHeight - BREAKING: adds default
textMargintoAnimatedToggleSwitch.dual - fixes (#9)
- BREAKING: removes
indicatorType - BREAKING: changes default
innerColor - adds
BoxShadowparameters
- minor performance improvements
- minor changes/fixes
- migrates to Flutter 2.5
- minor changes/fixes
- minor Changes
- fixes
FittingMode.preventHorizontalOverlapping - improves Web support
- updates README.md
- adds
AnimatedToggleSwitch.dual - adds some settings (
AnimationType)
- minor fix
- initial release