UnboundedViewport constructor

UnboundedViewport({
  1. Key? key,
  2. AxisDirection axisDirection = AxisDirection.down,
  3. AxisDirection? crossAxisDirection,
  4. double anchor = 0.0,
  5. required ViewportOffset offset,
  6. Key? center,
  7. double? cacheExtent,
  8. List<Widget> slivers = const <Widget>[],
})

A render object that is bigger on the inside.

Version of Viewport with some modifications to how extents are computed to allow scroll extents outside 0 to 1. See Viewport for more information.

Implementation

UnboundedViewport({
  super.key,
  super.axisDirection,
  super.crossAxisDirection,
  double anchor = 0.0,
  required super.offset,
  super.center,
  super.cacheExtent,
  super.slivers,
}) : _anchor = anchor;