Repository navigation
Changes:
- CustomRefreshIndicator:
- Fixed a crash when the indicator was hidden before the onRefresh callback completed. Reported by @KubrickRubrik in #60.
- Fixed the scroll indicator being shown on the opposite edge while the indicator was dragged.
- The show and refresh methods now set the indicator edge and use the scroll direction of the list, so the indicator is visible on the correct side when triggered programmatically.
- The IndicatorController methods used internally by the widget are now marked as internal.
- Fixed the widget still driving an externally provided controller after it was replaced with null.
- Fixed the indicator state being left on the previous controller when the controller was changed during a refresh. The new controller now takes over the indicator state.
- Fixed an externally provided controller being left in the loading state when the widget was removed during a refresh.
- Fixed the indicator being hidden by an outdated onRefresh call that completed after the indicator was hidden manually and a new refresh was started.
- CustomMaterialIndicator:
- Added the show, hide and refresh methods, available through a
GlobalKey<CustomMaterialIndicatorState>. Reported by @MrLi2000 in #70. - Fixed the indicatorSize argument, which had no effect.
- Fixed the indicator being visible above the edgeOffset as soon as the list was touched. The indicator is now clipped at the edge, like the built-in RefreshIndicator. Reported by @MrTadeu in #62.
- Fixed a misleading comment. Reported by @raymondmakz in #68.
- Added the show, hide and refresh methods, available through a
- PositionedIndicatorContainer:
- Added the clipBehavior argument, which clips the child at the edge from which it slides in. Defaults to Clip.none.
- Fixed the position of the child for horizontal lists with the right-to-left text direction.
- ClampingWithOverscrollPhysics:
Full Changelog: v4.0.2...v4.1.0