Skip to content

Release 4.0.1 - #72

Merged
rvamsikrishna merged 5 commits into
masterfrom
feat/scroll-view-wrapper
Jul 4, 2026
Merged

rvamsikrishna merged 5 commits into
masterfrom
feat/scroll-view-wrapper

Conversation

@rvamsikrishna

Copy link
Copy Markdown
Owner

Release 4.0.1

This PR ships version 4.0.1 of inview_notifier_list.

✨ Features

  • scrollViewWrapper — a new optional callback that wraps the internal ScrollView with an additional widget (e.g. RefreshIndicator, EasyRefresh, SmartRefresher, or a shimmer wrapper) while keeping in-view detection fully working. Available on both InViewNotifierList and InViewNotifierCustomScrollView.
  • Full property pass-through — exposed the remaining ListView.builder properties (cacheExtent, itemExtent, prototypeItem, findChildIndexCallback, addRepaintBoundaries, addSemanticIndexes, semanticChildCount, dragStartBehavior, keyboardDismissBehavior, restorationId, clipBehavior) and the remaining CustomScrollView properties (cacheExtent, scrollBehavior, semanticChildCount, dragStartBehavior, keyboardDismissBehavior, restorationId, clipBehavior). (Please add cacheExtent to InViewNotifierList #43, Support cacheExtent prop of CustomScrollView #36)

🐛 Fixes

📱 Example App

  • Added a horizontal scroll example tab.
  • Added a pull-to-refresh example tab demonstrating scrollViewWrapper with RefreshIndicator and EasyRefresh.

📝 Docs

  • Documented scrollViewWrapper in the README Properties section and the CHANGELOG.

✅ Quality gates

  • dart format --set-exit-if-changed . — clean (17 files, 0 changed)
  • dart analyze --fatal-infos — no issues
  • flutter test — 28 passed
  • Coverage — 92.37% (above the 90% gate)

rvamsikrishna and others added 3 commits April 4, 2026 16:35
Add ScrollViewWrapper typedef and optional scrollViewWrapper parameter
to InViewNotifierList and InViewNotifierCustomScrollView. This allows
users to wrap the internal scroll view with pull-to-refresh or other
widgets without exposing InViewNotifier directly (addresses #47, #15,
#14, #21).

Also adds a pull-to-refresh example tab demonstrating usage with both
Flutter's RefreshIndicator and the easy_refresh package.
The scrollViewWrapper feature and pull-to-refresh example were added in
the code but not reflected in the user-facing docs. Add the property to
the README Properties section and the CHANGELOG 4.0.1 entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dart analyze --fatal-infos fails on Flutter stable newer than
v3.41.0-0.0.pre, where ListView/CustomScrollView cacheExtent is
deprecated in favour of scrollCacheExtent. scrollCacheExtent does not
exist on the package's minimum supported Flutter (>=3.10.0), so switching
is not an option. Suppress the deprecation at the two call sites instead,
keeping cacheExtent working across the full supported range.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.12%. Comparing base (d25952c) to head (151df0f).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   92.91%   93.12%   +0.21%     
==========================================
  Files           5        5              
  Lines         127      131       +4     
==========================================
+ Hits          118      122       +4     
  Misses          9        9              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

rvamsikrishna and others added 2 commits July 3, 2026 19:40
Add an InViewNotifierCustomScrollView + scrollViewWrapper test. This
combination was previously untested (only the InViewNotifierList wrapper
path had coverage), leaving _applyWrapper uncovered and failing Codecov's
patch check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
4.0.1 is already published on pub.dev, and scrollViewWrapper is a new
feature added after it, so this release takes the next minor version.
Moved scrollViewWrapper and the pull-to-refresh example into a new
[4.1.0] changelog entry, since they did not ship in 4.0.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rvamsikrishna
rvamsikrishna merged commit e9b2abd into master Jul 4, 2026
3 checks passed
@rvamsikrishna
rvamsikrishna deleted the feat/scroll-view-wrapper branch July 4, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant