You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- BREAKING: `indicatorAnimationType` handles `ToggleStyle.indicatorColor`, `ToggleStyle.indicatorBorderRadius`, `ToggleStyle.indicatorBorder` and `ToggleStyle.indicatorBoxShadow` now
44
47
45
48
## 0.7.0 (2023-06-19)
46
49
47
50
- adds possibility that no valid value is selected (by setting `allowUnlistedValues` to `true`)
- adds new parameters to almost all constructors: `allowUnlistedValues`, `indicatorAppearingBuilder`, `indicatorAppearingDuration`, `indicatorAppearingCurve`
50
52
51
53
## 0.6.2 (2023-03-09)
52
54
@@ -61,13 +63,10 @@
61
63
- fixes README
62
64
- fixes #28
63
65
- BREAKING: Increases minimum SDK to 2.17
64
-
- BREAKING: Renames `value` to `current` and `previousValue` to `previous`
65
-
in `DetailedGlobalToggleProperties`
66
-
- BREAKING Feature: Adds loading animation to all switches. You can disable it by setting `loading`
67
-
to false.
66
+
- BREAKING: Renames `value` to `current` and `previousValue` to `previous` in `DetailedGlobalToggleProperties`
67
+
- BREAKING Feature: Adds loading animation to all switches. You can disable it by setting `loading` to false.
68
68
- Adds `innerGradient` to `AnimatedToggleSwitch`
69
-
- Adds `transitionType` to `AnimatedToggleSwitch.rolling`, `AnimatedToggleSwitch.rollingByHeight`
70
-
and `AnimatedToggleSwitch.dual`
69
+
- Adds `transitionType` to `AnimatedToggleSwitch.rolling`, `AnimatedToggleSwitch.rollingByHeight` and `AnimatedToggleSwitch.dual`
71
70
72
71
## 0.5.2 (2022-04-22)
73
72
@@ -85,16 +84,14 @@
85
84
86
85
- Minor performance improvement
87
86
- Fixes problems with tight constraints
88
-
- BREAKING: Changes default values of `animationOffset` and `clipAnimation`
89
-
in `AnimatedToggleSwitch.dual`
87
+
- BREAKING: Changes default values of `animationOffset` and `clipAnimation` in `AnimatedToggleSwitch.dual`
90
88
91
89
## 0.4.0 (2022-04-03)
92
90
93
91
- Minor fixes and performance improvements
94
92
- Adds `indicatorBorderRadius` to `AnimatedToggleSwitch`
95
93
- Adds `animationOffset`, `clipAnimation` and `opacityAnimation` to `AnimatedToggleSwitch.dual`
96
-
- BREAKING: Sets default values of `animationOffset`, `clipAnimation` and `opacityAnimation`
97
-
in `AnimatedToggleSwitch.dual`
94
+
- BREAKING: Sets default values of `animationOffset`, `clipAnimation` and `opacityAnimation` in `AnimatedToggleSwitch.dual`
98
95
- BREAKING: Renames `foregroundBorder` to `indicatorBorder`
99
96
100
97
## 0.3.1 (2022-03-23)
@@ -104,12 +101,10 @@
104
101
## 0.3.0 (2022-03-21)
105
102
106
103
- Introduces `CustomAnimatedToggleSwitch` for maximum customizability
107
-
- Most constructors of `AnimatedToggleSwitch` have a standard and a more customizable parameter for
108
-
their builders now
104
+
- Most constructors of `AnimatedToggleSwitch` have a standard and a more customizable parameter for their builders now
109
105
- Full support of `TextDirection.rtl`
110
106
- Adds animation when dragging the switch
111
-
- Adds `minTouchTargetSize`, `dragStartDuration`, `dragStartCurve` and `textDirection`
112
-
to `AnimatedToggleSwitch`
107
+
- Adds `minTouchTargetSize`, `dragStartDuration`, `dragStartCurve` and `textDirection` to `AnimatedToggleSwitch`
113
108
- BREAKING: `TextDirection` is taken from `BuildContext` by default now!!!
114
109
- BREAKING: Changes parameters and names of some builders
115
110
- BREAKING: Renames `AnimatedToggleSwitch.byHeight` to `AnimatedToggleSwitch.customByHeight`
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@
12
12
13
13
### If you like this package, please leave a like there on [pub.dev](https://pub.dev/packages/animated_toggle_switch) and star on [GitHub](https://github.com/SplashByte/animated_toggle_switch).
14
14
15
-
Fully customizable, draggable and animated switch with multiple choices and [smooth loading animation](#simple-rolling-animation-with-loading). It has prebuilt constructors for rolling and size animations, but it also allows you to create your own switches with `CustomAnimatedToggleSwitch`.
15
+
Fully customizable, draggable and animated switch with multiple choices and [smooth loading animation](#loading-animation). It has prebuilt constructors for rolling and size animations, but it also allows you to create your own switches with `CustomAnimatedToggleSwitch`.
16
16
`LTR` and `RTL` are both supported.
17
-
[Switches without an (initial) selection](#simple-rolling-animation-with-nullable-selection) are also possible.
17
+
[Switches without an (initial) selection](#nullable-selection) are also possible.
18
18
Most builder arguments of `AnimatedToggleSwitch` have a standard and a custom version. This ensures that you can get started easily and still customize a lot if necessary.
19
19
20
20
For a slider with a similar look you can check out [action_slider](https://pub.dev/packages/action_slider).
0 commit comments