createElement method

  1. @override
RenderObjectElement createElement()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
RenderObjectElement createElement() =>
    SliverPinnedPersistentHeaderElement(this);