createElement method Null safety

  1. @override
SliverMultiBoxAdaptorElement createElement()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
SliverMultiBoxAdaptorElement createElement() => SliverMultiBoxAdaptorElement(this, replaceMovedChildren: true);