Skip to content

Releases: gonuit/flutter-custom-refresh-indicator

v4.0.1

18 Jul 21:10
Compare
Choose a tag to compare

Changes:

  • Fixed missing changelog

Full Changelog: v4.0.0...v4.0.1

v4.0.0

18 Jul 21:09
a192774
Compare
Choose a tag to compare

Changes:

  • CustomRefreshIndicator:
    • Removed deprecated parameters: indicatorCancelDuration, indicatorSettleDuration, indicatorFinalizeDuration and completeStateDuration .If you are still using them, switch to the duration parameter.
    • Improved handling of indicator controller changes.
    • Fixed missing dragDetails data when overscrolling.
  • IndicatorController:
    • Added minValue and maxValue static constants.
    • Added transform method. Allows you to transform controller animation values from the range 0.01.5 to another range.
    • Added normalize method. Normalizes value by converting it to the range 0.01.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.
  • CustomMaterialIndicator:
    • Redesigned/reimplemented. Now, when indicatorBuilder argument is not provided, it completely recreates the look and behavior of the built-in RefreshIndicator widget.
    • Added CustomMaterialIndicator.adaptive constructor.
    • indicatorBuilder parameter is now optional.
    • 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 😔.
    • Added color, semanticsValue, semanticsLabel and strokeWidth parameters. They are applied only when the default indicatorBuilder is used (given a null value).
  • Removed deprecated IndicatorBuilderDelegate and MaterialIndicatorDelegate classes.
  • Added TransformedAnimation class that allows transforming the parent animation value.
  • Exposed a PositionedIndicatorContainer widget that allows easy positioning of the indicator.
  • Example app:
    • Updated custom material indicator example.
    • Updated application design.
    • Added tooltips.
    • Added ball indicator example, which is an overview of the drag details based indicator.
    • Updated web example.

Full Changelog: v3.1.2...v4.0.0

v4.0.0-dev.3

18 Jul 20:44
Compare
Choose a tag to compare
v4.0.0-dev.3 Pre-release
Pre-release

Changes:

  • CustomRefreshIndicator:
    • Removed deprecated parameters: indicatorCancelDuration, indicatorSettleDuration, indicatorFinalizeDuration and completeStateDuration .If you are still using them, switch to the duration parameter.
    • Improved handling of indicator controller changes.
    • Fixed missing dragDetails data when overscrolling.
  • IndicatorController:
    • Added minValue and maxValue static constants.
    • Added transform method. Allows you to transform controller animation values from the range 0.01.5 to another range.
    • Added normalize method. Normalizes value by converting it to the range 0.01.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.
  • CustomMaterialIndicator:
    • Redesigned/reimplemented. Now, when indicatorBuilder argument is not provided, it completely recreates the look and behavior of the built-in RefreshIndicator widget.
    • Added CustomMaterialIndicator.adaptive constructor.
    • indicatorBuilder parameter is now optional.
    • 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 😔.
    • Added color, semanticsValue, semanticsLabel and strokeWidth parameters. They are applied only when the default indicatorBuilder is used (given a null value).
  • Removed deprecated IndicatorBuilderDelegate and MaterialIndicatorDelegate classes.
  • Added TransformedAnimation class that allows transforming the parent animation value.
  • Exposed a PositionedIndicatorContainer widget that allows easy positioning of the indicator.
  • Example app:
    • Updated custom material indicator example.
    • Updated application design.
    • Added tooltips.
    • Added ball indicator example, which is an overview of the drag details based indicator.
    • Updated web example.

Full Changelog: v4.0.0-dev.2...v4.0.0-dev.3

v4.0.0-dev.2

18 Jul 20:44
Compare
Choose a tag to compare
v4.0.0-dev.2 Pre-release
Pre-release

Changes:

  • CustomRefreshIndicator:
    • Removed deprecated parameters: indicatorCancelDuration, indicatorSettleDuration, indicatorFinalizeDuration and completeStateDuration .If you are still using them, switch to the duration parameter.
    • Improved handling of indicator controller changes.
    • Fixed missing dragDetails data when overscrolling.
  • IndicatorController:
    • Added minValue and maxValue static constants.
    • Added transform method. Allows you to transform controller animation values from the range 0.01.5 to another range.
    • Added normalize method. Normalizes value by converting it to the range 0.01.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.
  • CustomMaterialIndicator:
    • Redesigned/reimplemented. Now, when indicatorBuilder argument is not provided, it completely recreates the look and behavior of the built-in RefreshIndicator widget.
    • Added CustomMaterialIndicator.adaptive constructor.
    • indicatorBuilder parameter is now optional.
    • 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 😔.
    • Added color, semanticsValue, semanticsLabel and strokeWidth parameters. They are applied only when the default indicatorBuilder is used (given a null value).
  • Removed deprecated IndicatorBuilderDelegate and MaterialIndicatorDelegate classes.
  • Added TransformedAnimation class that allows transforming the parent animation value.
  • Exposed a PositionedIndicatorContainer widget that allows easy positioning of the indicator.
  • Example app:
    • Updated custom material indicator example.
    • Updated application design.
    • Added tooltips.
    • Added ball indicator example, which is an overview of the drag details based indicator.
    • Updated web example.

Full Changelog: v4.0.0-dev.1...v4.0.0-dev.2

v3.1.2

12 Jul 13:16
Compare
Choose a tag to compare

Changes

  • Deprecated the withRotation argument of the CustomMaterialIndicator widget. The rotation function will be removed in the upcoming version.
  • Fixed missing drag detail (IndicatorController.dragDetails) information from scroll events.

Full Changelog: v3.1.1...v3.1.2

v4.0.0-dev.1

06 Jul 18:22
Compare
Choose a tag to compare
v4.0.0-dev.1 Pre-release
Pre-release

Changes:

  • CustomRefreshIndicator:
    • Removed deprecated parameters: indicatorCancelDuration, indicatorSettleDuration, indicatorFinalizeDuration and completeStateDuration .If you are still using them, switch to the duration parameter.
  • IndicatorController:
    • Added minValue and maxValue static constants.
    • Added transform method. Allows you to transform controller animation values from the range 0.01.5 to another range.
    • Added normalize method. Normalizes value by converting it to the range 0.01.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.
  • CustomMaterialIndicator:
    • Redesigned/reimplemented. Now, when indicatorBuilder argument is not provided, it completely recreates the look and behavior of the built-in RefreshIndicator widget.
    • Added CustomMaterialIndicator.adaptive constructor.
    • indicatorBuilder parameter is now optional.
    • 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 😔.
    • Added color, semanticsValue, semanticsLabel and strokeWidth parameters. They are applied only when the default indicatorBuilder is used (given a null value).
  • Removed deprecated IndicatorBuilderDelegate and MaterialIndicatorDelegate classes.
  • Added TransformedAnimation class that allows transforming the parent animation value.
  • Example app:
    • Updated custom material indicator example.

Full Changelog: v3.1.1...v4.0.0-dev.1

v3.1.1

06 Jul 18:21
Compare
Choose a tag to compare

Changes:

  • Fix:
    • Fixed durations parameter of CustomRefreshIndicator widget. Reported by @jccd1996 in #58.

Full Changelog: v3.0.0...v3.1.1

v3.1.0-dev.1

05 Jan 00:05
Compare
Choose a tag to compare
v3.1.0-dev.1 Pre-release
Pre-release

Changes:

  • Experimental:
    • Added ClampingWithOverscrollPhysics scroll physics, that together with indicator controller allows handling overscroll correctly.
  • The indicator's cancel duration is now based on the dragging progress.
  • Updated the dart sdk constraints to >=2.17.0 <4.0.0
  • Updated example app native dependencies

Full Changelog: v3.0.0...v3.1.0-dev.1

v3.0.0

06 Nov 21:18
0899c31
Compare
Choose a tag to compare

Changes:

  • CustomRefreshIndicator:
    • Deprecated indicatorFinalizeDuration, indicatorSettleDuration, indicatorCancelDuration and completeStateDuration parameters in favor of durations.
    • The indicator widget will now be rebuilt every time state changes, even if the autoRebuilt parameter is set to false. This will make managing the state of the indicator widget simpler.
    • Deprecated IndicatorDelegate and MaterialIndicatorDelegate in favor of CustomMaterialIndicator widget.
  • IndicatorController:
    • The controller now extends Animation. This allows it to be used directly with Transition widgets to further improve animation performance.
    • New ClampedAnimation class for constraining the IndicatorController animation value within a specific range using the clamp method.
    • Drag interaction details are now available, enabling pointer-position-based animations.
  • Example app:
    • The checkmark indicator example has been simplified.
    • Minor corrections to the envelope indicator.
    • Added image precaching.
    • Removed unused code.

Full Changelog: v2.2.1...v3.0.0

v3.0.0-beta.2

04 Nov 20:48
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

Changes:

  • CustomRefreshIndicator:
    • Deprecated indicatorFinalizeDuration, indicatorSettleDuration, indicatorCancelDuration and completeStateDuration parameters in favor of durations.
    • The indicator widget will now be rebuilt every time state changes, even if the autoRebuilt parameter is set to false. This will make managing the state of the indicator widget simpler.
    • Deprecated IndicatorDelegate and MaterialIndicatorDelegate in favor of CustomMaterialIndicator widget.
  • IndicatorController:
    • The controller now extends Animation. This allows it to be used directly with Transition widgets to further improve animation performance.
    • New ClampedAnimation class for constraining the IndicatorController animation value within a specific range using the clamp method.
    • Drag interaction details are now available, enabling pointer-position-based animations.
  • Example app:
    • The checkmark indicator example has been simplified.
    • Minor corrections to the envelope indicator.
    • Added image precaching.
    • Removed unused code.

Full Changelog: v2.2.1...v3.0.0-beta.2