createElement method

  1. @override
_ViewportElement createElement ()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
_ViewportElement createElement() => _ViewportElement(this);