isTargetSliverContextType method
Determine whether it is the type of the target sliver.
Implementation
bool isTargetSliverContextType(RenderObject? obj) {
if (widget.customTargetRenderSliverType != null) {
return widget.customTargetRenderSliverType!.call(obj);
}
return obj is RenderSliverList;
}