From 71ac2dc234eead5b3da27308aba0d8fd25c62810 Mon Sep 17 00:00:00 2001 From: darkh Date: Mon, 12 Jun 2023 11:49:04 +0300 Subject: [PATCH] adding cacheExtent to all lists --- lib/src/inview_notifier_list.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/inview_notifier_list.dart b/lib/src/inview_notifier_list.dart index a952f66..78cb90a 100644 --- a/lib/src/inview_notifier_list.dart +++ b/lib/src/inview_notifier_list.dart @@ -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, @@ -41,6 +42,7 @@ class InViewNotifierList extends InViewNotifier { physics: physics, reverse: reverse, primary: primary, + cacheExtent: cacheExtent, addAutomaticKeepAlives: addAutomaticKeepAlives, shrinkWrap: shrinkWrap, itemCount: itemCount, @@ -79,6 +81,7 @@ class InViewNotifierCustomScrollView extends InViewNotifier { bool? primary, bool shrinkWrap = false, Key? center, + double? cacheExtent, double anchor = 0.0, }) : super( key: key, @@ -93,6 +96,7 @@ class InViewNotifierCustomScrollView extends InViewNotifier { controller: controller, scrollDirection: scrollDirection, physics: physics, + cacheExtent: cacheExtent, reverse: reverse, primary: primary, shrinkWrap: shrinkWrap,