animated_toggle_switch 0.8.0-beta.0
animated_toggle_switch: ^0.8.0-beta.0 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.0-beta.0 #
- adds tests for all
AnimatedToggleSwitchconstructors - adds
separatorBuilder,customSeparatorBuilder,styleandstyleAnimationTypetoAnimatedToggleSwitch - adds
separatorBuildertoCustomAnimatedToggleSwitch - fixes initial loading
- BREAKING: moves many parameters to
style:innerColor(renamed tobackgroundColor)innerGradient(renamed tobackgroundGradient)borderColorindicatorColorborderRadiusindicatorBorderColorindicatorBorderindicatorBorderforegroundBoxShadow(renamed toindicatorBoxShadow)boxShadow
- BREAKING: merges
borderColorBuilderwithstyleBuilder - BREAKING:
indicatorAnimationTypehandlesToggleStyle.indicatorColor,ToggleStyle.indicatorBorderRadius,ToggleStyle.indicatorBorderandToggleStyle.indicatorBoxShadownow
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.1 - 2022-04-21 #
- Fixes #20
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