NestedScrollViewViewport constructor Null safety
- {Key? key,
- AxisDirection axisDirection = AxisDirection.down,
- AxisDirection? crossAxisDirection,
- double anchor = 0.0,
- required ViewportOffset offset,
- Key? center,
- List<
Widget> slivers = const <Widget>[], - required SliverOverlapAbsorberHandle handle,
- Clip clipBehavior = Clip.hardEdge}
Creates a variant of Viewport that has a SliverOverlapAbsorberHandle.
The handle must not be null.
Implementation
NestedScrollViewViewport({
super.key,
super.axisDirection,
super.crossAxisDirection,
super.anchor,
required super.offset,
super.center,
super.slivers,
required this.handle,
super.clipBehavior,
}) : assert(handle != null);