animated_toggle_switch 0.8.5
animated_toggle_switch: ^0.8.5 copied to clipboard
Fully customizable, draggable and animated switch with multiple choices and smooth loading animation. It has prebuilt constructors for rolling and size animations.
0.8.4 - 2024-12-18 #
- adds option to add
ToggleStyletoThemeDataasThemeExtension - removes usage of deprecated members
0.8.1 - 2024-02-06 #
0.8.0 - 2023-09-02 #
- 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
0.7.0 - 2023-06-19 #
- adds possibility that no valid value is selected (by setting
allowUnlistedValuestotrue) - adds new parameters to almost all constructors:
allowUnlistedValues,indicatorAppearingBuilder,indicatorAppearingDuration,indicatorAppearingCurve
0.6.2 - 2023-03-09 #
- adds screenshot to pubspec.yaml
0.6.1 - 2022-12-22 #
- adds examples for loading animation to README
0.6.0 - 2022-12-22 #
- 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
0.5.2 - 2022-04-22 #
- minor performance improvement
- minor fixes
- improves code documentation
- adds
dragCursoranddraggingCursortoCustomAnimatedToggleSwitch - adds
iconsTappable,defaultCursor,dragCursoranddraggingCursortoAnimatedToggleSwitch
0.5.0 - 2022-04-20 #
- minor performance improvement
- fixes problems with tight constraints
- BREAKING: changes default values of
animationOffsetandclipAnimationinAnimatedToggleSwitch.dual
0.4.0 - 2022-04-03 #
- minor fixes and performance improvements
- adds
indicatorBorderRadiustoAnimatedToggleSwitch - adds
animationOffset,clipAnimationandopacityAnimationtoAnimatedToggleSwitch.dual - BREAKING: sets default values of
animationOffset,clipAnimationandopacityAnimationinAnimatedToggleSwitch.dual - BREAKING: renames
foregroundBordertoindicatorBorder
0.3.1 - 2022-03-23 #
- minor fixes
0.3.0 - 2022-03-21 #
- 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)
0.2.3 - 2022-02-28 #
- BREAKING: removes
indicatorType - BREAKING: changes default
innerColor - adds
BoxShadowparameters
0.2.1 - 2021-10-03 #
- migrates to Flutter 2.5
- minor changes/fixes
0.2.0 - 2021-05-21 #
- minor Changes
- fixes
FittingMode.preventHorizontalOverlapping - improves Web support
0.1.3 - 2021-03-27 #
- updates README.md
0.1.2 - 2021-03-27 #
- adds
AnimatedToggleSwitch.dual - adds some settings (
AnimationType)
0.1.1 - 2021-03-26 #
- minor fix
0.1.0 - 2021-03-26 #
- initial release
