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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking changes
Added autoRebuild flag, which is by default set to true.
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.
Remove IndicatorState.hiding state. Instead introduced IndicatorState.finalizing and IndicatorState.canceling.
Splited IndicatorState.loading state into two phases: IndicatorState.settling and IndicatorState.loading.
Renamed extentPercentageToArmed argument to containerExtentPercentageToArmed which better describes what it exactly does.
Changed the default value of the defaultContainerExtentPercentageToArmed from 0.20 to 0.1(6) to match the behavior of the built-in indicator widget.
Removed deprecated IndicatorStateHelper class. Instead use CustomRefreshIndicator.onStateChanged method.
Removed deprecated leadingGlowVisible and trailingGlowVisible arguments. Instead use leadingScrollIndicatorVisible and trailingScrollIndicatorVisible accoringly.
Allow setting the edge of the list that will trigger the pull to refresh action.
Introduced IndicatorEdge, IndicatorTrigger, IndicatorSide and IndicatorTriggerMode classes.
Replaced reversed argument of the CustomRefreshIndicator class with trigger.
Added edge and side properties to the IndicatorController class.
Added extension with utility getters for IndicatorState class.
Trigger mode support added. Equivalent to the trigger mode of the built-in RefreshIndicator widget.
Now the onRefresh function will be triggered immediately when the indicator is released in the armed state. Previously, the onRefresh function was triggered when the indicator reached a target value in the loading state of 1.0.
Fixed a bug causing the onRefresh method not to be triggered on the iOS platform due to bounce physics.
Implemented equality operator for IndicatorStateChange class.
Improved code coverage with tests
Multiple minor fixes, improvements and optimizations.