Creates a widget that's bigger on the inside.
The mainAxis and paintOffset arguments must not be null.
Source
Viewport({ Key key, this.paintOffset: Offset.zero, this.mainAxis: Axis.vertical, this.anchor: ViewportAnchor.start, this.onPaintOffsetUpdateNeeded, Widget child }) : super(key: key, child: child) { assert(mainAxis != null); assert(paintOffset != null); }