InViewNotifierWidgetBuilder typedef Null safety

InViewNotifierWidgetBuilder = Widget Function(BuildContext context, bool isInView, Widget? child)

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.


typedef Widget InViewNotifierWidgetBuilder(
  BuildContext context,
  bool isInView,
  Widget? child,