Skip to content

Commit e07cf7b

Browse files
committed
docs: update changelog
1 parent 1351f41 commit e07cf7b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## 4.0.0-dev.1
2+
- **CustomRefreshIndicator**:
3+
- Removed deprecated parameters: *indicatorCancelDuration*, *indicatorSettleDuration*, *indicatorFinalizeDuration* and *completeStateDuration* .If you are still using them, switch to the *duration* parameter.
4+
- **IndicatorController**:
5+
- Added *minValue* and *maxValue* static constants.
6+
- Added *transform* method. Allows you to transform controller animation values from the range *0.0**1.5* to another range.
7+
- 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.
8+
- **CustomMaterialIndicator**:
9+
- Redesigned/reimplemented. Now, when *indicatorBuilder* argument is not provided, it completely recreates the look and behavior of the built-in *RefreshIndicator* widget.
10+
- Added *CustomMaterialIndicator.adaptive* constructor.
11+
- *indicatorBuilder* parameter is now optional.
12+
- 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 😔.
13+
- Added *color*, *semanticsValue*, *semanticsLabel* and *strokeWidth* parameters. They are applied only when the default *indicatorBuilder* is used (given a null value).
14+
- Removed deprecated *IndicatorBuilderDelegate* and *MaterialIndicatorDelegate* classes.
15+
- Added *TransformedAnimation* class that allows transforming the parent animation value.
16+
- **Example app**:
17+
- Updated custom material indicator example.
118
## 3.1.1
219
- Fix:
320
- Fixed *durations* parameter of *CustomRefreshIndicator* widget. Reported by [@jccd1996](https://github.com/jccd1996) in [#58](https://github.com/gonuit/flutter-custom-refresh-indicator/issues/58).

0 commit comments

Comments
 (0)