withChildObstructionExtent method
Sets the extent from the edges in which this sliver obstructs its child.
Implementation
SliverGeometry withChildObstructionExtent(
ChildObstructionExtent? value,
) {
return _SliverGeometryWithChildObstructionExtent(
scrollExtent: scrollExtent,
paintExtent: paintExtent,
paintOrigin: paintOrigin,
layoutExtent: layoutExtent,
maxPaintExtent: maxPaintExtent,
maxScrollObstructionExtent: maxScrollObstructionExtent,
crossAxisExtent: crossAxisExtent,
hitTestExtent: hitTestExtent,
visible: visible,
hasVisualOverflow: hasVisualOverflow,
cacheExtent: cacheExtent,
scrollOffsetCorrection: scrollOffsetCorrection,
childObstructionExtent: value,
);
}