inview_notifier_list library
Classes
- InViewNotifierCustomScrollView
- builds a CustomScrollView and notifies when the widgets are on screen within a provided area.
- InViewNotifierList
- builds a ListView and notifies when the widgets are on screen within a provided area.
- InViewNotifierWidget
- The widget that gets notified if it is currently inside the viewport condition provided by the IsInViewPortCondition condition.
- InViewState
- Class that stores the context's of the widgets and String id's of the widgets that are currently in-view. It notifies the listeners when the list is scrolled.
Typedefs
- InViewNotifierWidgetBuilder = Widget Function(BuildContext context, bool isInView, Widget? child)
- The function that defines and returns the widget that should be notified as inView.
- IsInViewPortCondition = bool Function(double deltaTop, double deltaBottom, double viewPortDimension)
- The function that defines the area within which the widgets should be notified as inView.