INNER CODE UNIT · Dart
InViewNotifierWidget
rvamsikrishna/inview_notifier_list · lib/src/inview_notifier_list.dart:184
class InViewNotifierWidget extends StatefulWidget {
///a required String property. This should be unique for every widget
///that wants to get notified.
final String id;
///The function that defines and returns the widget that should be notified
///as inView.
///
///The `isInView` tells whether the returned widget is in view or not.
///
///The child should typically be part of the returned widget tree.
final InViewNotifierWidgetBuilder builder;
///The child widget to pass to the builder.
final Widget? child;
const InViewNotifierWidget({
super.key,