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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
## 2.2.1
2
+
- Fixed typos in documentation
1
3
## 2.2.0
2
4
- Added *clipBehavior* and the *elevation* arguments of the *MaterialIndicatorDelegate* class.
3
5
## 2.1.0
@@ -9,11 +11,11 @@
9
11
- Added `autoRebuild` flag which is by default set to `true`.
10
12
From now on, there is no need to wrap widgets in the builder function with the `AnimatedBuilder` widget, as it will be automatically rebuilt. For optimization purposes, you can use the old behavior by setting the `autoRebuild` argument to false.
11
13
- Remove *IndicatorState.hiding* state. Instead introduced *IndicatorState.finalizing* and *IndicatorState.canceling*.
12
-
-Splited*IndicatorState.loading* state into two phases: *IndicatorState.settling* and *IndicatorState.loading*.
14
+
-Split*IndicatorState.loading* state into two phases: *IndicatorState.settling* and *IndicatorState.loading*.
13
15
- Renamed `extentPercentageToArmed` argument to `containerExtentPercentageToArmed` which better describes what it exactly does.
14
16
- Changed the default value of the `defaultContainerExtentPercentageToArmed` from `0.20` to `0.1(6)` to match the behavior of the built-in indicator widget.
15
17
- Removed deprecated **IndicatorStateHelper** class. Instead use **CustomRefreshIndicator.onStateChanged** method.
16
-
- Removed deprecated **leadingGlowVisible** and **trailingGlowVisible** arguments. Instead use **leadingScrollIndicatorVisible** and **trailingScrollIndicatorVisible**accoringly.
18
+
- Removed deprecated **leadingGlowVisible** and **trailingGlowVisible** arguments. Instead use **leadingScrollIndicatorVisible** and **trailingScrollIndicatorVisible**accordingly.
17
19
- Allow setting the edge of the list that will trigger the pull to refresh action.
18
20
- Introduced **IndicatorEdge**, **IndicatorTrigger**, **IndicatorSide** and **IndicatorTriggerMode** classes.
19
21
- Replaced **reversed** argument of the **CustomRefreshIndicator** class with **trigger**.
@@ -86,8 +88,8 @@
86
88
## 0.9.0-dev.1
87
89
88
90
- Added optional `complete` indicator state together with `completeStateDuration` parameter.
89
-
-`IndicatorControler` changes:
90
-
- Added `prevoiusState` property.
91
+
-`IndicatorController` changes:
92
+
- Added `previousState` property.
91
93
- Added `didStateChange` helper method.
92
94
- Added `wasArmed`, `wasDragging`, `wasLoading`, `wasHiding` and `wasIdle` properties.
93
95
- Added `notificationPredicate` property to the `CustomRefreshIndicator` widget.
-`indicatorBuilder` argument is no longer present. Instead use `builder` argument which has some significant changes.
105
107
106
-
To animate indicator based on `IndicatorControler` you can use `AnimationBuilder` widget and pass `IndicatorData` object as `animation` argument. Because of that you can implement your own widget rebuild system what can improve your custom indicator performance (instead of building indicator eg. 300 times you can decide when you want to do it). Example:
108
+
To animate indicator based on `IndicatorController` you can use `AnimationBuilder` widget and pass `IndicatorData` object as `animation` argument. Because of that you can implement your own widget rebuild system what can improve your custom indicator performance (instead of building indicator eg. 300 times you can decide when you want to do it). Example:
|**idle**| In this state, the indicator is not visible. No user action is performed. Value remains at *0.0*. |
229
229
|**dragging**| The user starts scrolling/dragging the pointer to refresh. Releasing the pointer in this state will not trigger the *onRefresh* function. The controller value changes from *0.0* to *1.0*. |
230
-
|**canceling**| The function *onRefresh***has not been executed**, and the indicator is hidding from its current value that is lower than *1.0* to *0.0*. |
230
+
|**canceling**| The function *onRefresh***has not been executed**, and the indicator is hiding from its current value that is lower than *1.0* to *0.0*. |
231
231
|**armed**| The user has dragged the pointer further than the distance declared by *containerExtentPercentageToArmed* or *offsetToArmed* (over the value of *1.0*). Releasing the pointer in this state will trigger the *onRefresh* function. |
232
232
|**settling**| The user has released the indicator in the armed state. The indicator settles on its target value *1.0*. |
233
233
|**loading**| The indicator has a target value of *1.0*. The *onRefresh* function is triggered. |
0 commit comments