ViewportBuilder typedef Null safety

ViewportBuilder = Widget Function(BuildContext context, ViewportOffset position)

Signature used by Scrollable to build the viewport through which the scrollable content is displayed.

Implementation

typedef ViewportBuilder = Widget Function(BuildContext context, ViewportOffset position);