Skip to content

Releases: gonuit/flutter-custom-refresh-indicator

v2.2.1

13 Jun 22:20
Compare
Choose a tag to compare

Changes:

  • Fixed typos in documentation

Full Changelog: v2.2.0...v2.2.1

v2.2.0

13 Jun 22:05
Compare
Choose a tag to compare

Changes

  • Added clipBehavior and the elevation arguments of the MaterialIndicatorDelegate class.

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

13 Jun 22:04
Compare
Choose a tag to compare

Changes:

  • Updated the dart sdk constraints

Full Changelog: v2.0.1...v2.1.0

v2.0.1

04 Nov 16:56
Compare
Choose a tag to compare

Changes:

  • Added missing isCanceling and isSettling getters for IndicatorState and IndicatorController enum.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

25 Oct 07:31
3265356
Compare
Choose a tag to compare

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.

v2.0.0-dev.7

24 Oct 20:43
Compare
Choose a tag to compare
v2.0.0-dev.7 Pre-release
Pre-release

Changes:

  • Pub.dev readme fixes

v2.0.0-beta.1

24 Oct 20:33
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Changes:

  • Update readme file

v2.0.0-dev.4

22 Oct 21:46
Compare
Choose a tag to compare
v2.0.0-dev.4 Pre-release
Pre-release
  • Implemented equality operator for IndicatorStateChange class.

v2.0.0-dev.3

21 Oct 18:23
Compare
Choose a tag to compare
v2.0.0-dev.3 Pre-release
Pre-release

What's Changed

  • 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.

v1.2.0

03 Jun 15:21
e1a62d5
Compare
Choose a tag to compare

Improvements:

  • Compatibility improvements for Flutter 3.0.