buildViewport abstract method
- BuildContext context,
- ViewportOffset verticalOffset,
- ViewportOffset horizontalOffset
Build the two dimensional viewport.
Subclasses may override this method to change how the viewport is built, likely a subclass of TwoDimensionalViewport.
The verticalOffset
and horizontalOffset
arguments are the values
obtained from TwoDimensionalScrollable.viewportBuilder.
Implementation
Widget buildViewport(
BuildContext context,
ViewportOffset verticalOffset,
ViewportOffset horizontalOffset,
);