IsInViewPortCondition typedef Null safety

IsInViewPortCondition = bool Function(double deltaTop, double deltaBottom, double viewPortDimension)

The function that defines the area within which the widgets should be notified as inView.

Implementation

typedef bool IsInViewPortCondition(
  double deltaTop,
  double deltaBottom,
  double viewPortDimension,
);