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
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,27 @@
1
+
## 4.0.0-dev.3
2
+
-**CustomRefreshIndicator**:
3
+
- Removed deprecated parameters: *indicatorCancelDuration*, *indicatorSettleDuration*, *indicatorFinalizeDuration* and *completeStateDuration* .If you are still using them, switch to the *duration* parameter.
4
+
- Improved handling of indicator controller changes.
5
+
- Fixed missing *dragDetails* data when overscrolling.
6
+
-**IndicatorController**:
7
+
- Added *minValue* and *maxValue* static constants.
8
+
- Added *transform* method. Allows you to transform controller animation values from the range *0.0* → *1.5* to another range.
9
+
- Added *normalize* method. Normalizes *value* by converting it to the range *0.0* → *1.0*. This allows the animation to be used directly with most Flutter widgets and tweens. You can still use *clamp* if you want to remove values above *1.0* instead of transforming the whole range.
10
+
-**CustomMaterialIndicator**:
11
+
- Redesigned/reimplemented. Now, when *indicatorBuilder* argument is not provided, it completely recreates the look and behavior of the built-in *RefreshIndicator* widget.
- The deprecated parameter *withRotation* has been removed. It was confusing and was not related to the material indicator design. To add rotation to the indicator, you need to implement rotation yourself 😔.
15
+
- Added *color*, *semanticsValue*, *semanticsLabel* and *strokeWidth* parameters. They are applied only when the default *indicatorBuilder* is used (given a null value).
16
+
- Removed deprecated *IndicatorBuilderDelegate* and *MaterialIndicatorDelegate* classes.
17
+
- Added *TransformedAnimation* class that allows transforming the parent animation value.
18
+
- Exposed a *PositionedIndicatorContainer* widget that allows easy positioning of the indicator.
19
+
-**Example app**:
20
+
- Updated custom material indicator example.
21
+
- Updated application design.
22
+
- Added tooltips.
23
+
- Added *ball indicator* example, which is an overview of the drag details based indicator.
24
+
- Updated web example.
1
25
## 3.1.2
2
26
- Deprecated the *withRotation* argument of the *CustomMaterialIndicator* widget. The rotation function will be removed in the upcoming version.
3
27
- Fixed missing drag detail (*IndicatorController.dragDetails*) information from scroll events.
| With complete state [[SOURCE](example/lib/indicators/check_mark_indicator.dart)][[DEMO](https://custom-refresh-indicator.klyta.it/#/check-mark)]| Pull to fetch more [[SOURCE](example/lib/indicators/swipe_action.dart)][[DEMO](https://custom-refresh-indicator.klyta.it/#/fetch-more)]| Envelope [[SOURCE](example/lib/indicators/envelope_indicator.dart)][[DEMO](https://custom-refresh-indicator.klyta.it/#/envelope)]|
| Programmatically controlled [[SOURCE](example/lib/screens/programmatically_controlled_indicator_screen.dart)][[DEMO](https://custom-refresh-indicator.klyta.it/#/programmatically-controlled)]| Your indicator | Your indicator |
|| Have you created a fancy refresh indicator? This place is for you. [Open PR](https://github.com/gonuit/flutter-custom-refresh-indicator/pulls). | Have you created a fancy refresh indicator? This place is for you. [Open PR](https://github.com/gonuit/flutter-custom-refresh-indicator/pulls). |
92
+
| Controlled | Based on drag details | Your indicator |
||| Have you created a fancy refresh indicator? This place is for you. |
0 commit comments