RenderNestedScrollViewViewport constructor Null safety
- {AxisDirection axisDirection = AxisDirection.down,
- required AxisDirection crossAxisDirection,
- required ViewportOffset offset,
- double anchor = 0.0,
- List<
RenderSliver> ? children, - RenderSliver? center,
- required SliverOverlapAbsorberHandle handle,
- Clip clipBehavior = Clip.hardEdge}
Create a variant of RenderViewport that has a SliverOverlapAbsorberHandle.
The handle
must not be null.
Implementation
RenderNestedScrollViewViewport({
super.axisDirection,
required super.crossAxisDirection,
required super.offset,
super.anchor,
super.children,
super.center,
required SliverOverlapAbsorberHandle handle,
super.clipBehavior,
}) : assert(handle != null),
_handle = handle;