createElement method

  1. @override
_SingleChildStatefulMixinElement createElement()
override

Creates a StatefulElement to manage this widget's location in the tree.

It is uncommon for subclasses to override this method.

Implementation

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