RenderSliverMultiBoxAdaptor constructor Null safety

RenderSliverMultiBoxAdaptor(
  1. {required RenderSliverBoxChildManager childManager}
)

Creates a sliver with multiple box children.

The childManager argument must not be null.

Implementation

RenderSliverMultiBoxAdaptor({
  required RenderSliverBoxChildManager childManager,
}) : assert(childManager != null),
     _childManager = childManager {
  assert(() {
    _debugDanglingKeepAlives = <RenderBox>[];
    return true;
  }());
}