Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding cacheExtent to all lists #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/src/inview_notifier_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class InViewNotifierList extends InViewNotifier {
EdgeInsets? padding,
ScrollPhysics? physics,
bool reverse = false,
double? cacheExtent,
bool? primary,
bool shrinkWrap = false,
bool addAutomaticKeepAlives = true,
Expand All @@ -41,6 +42,7 @@ class InViewNotifierList extends InViewNotifier {
physics: physics,
reverse: reverse,
primary: primary,
cacheExtent: cacheExtent,
addAutomaticKeepAlives: addAutomaticKeepAlives,
shrinkWrap: shrinkWrap,
itemCount: itemCount,
Expand Down Expand Up @@ -79,6 +81,7 @@ class InViewNotifierCustomScrollView extends InViewNotifier {
bool? primary,
bool shrinkWrap = false,
Key? center,
double? cacheExtent,
double anchor = 0.0,
}) : super(
key: key,
Expand All @@ -93,6 +96,7 @@ class InViewNotifierCustomScrollView extends InViewNotifier {
controller: controller,
scrollDirection: scrollDirection,
physics: physics,
cacheExtent: cacheExtent,
reverse: reverse,
primary: primary,
shrinkWrap: shrinkWrap,
Expand Down