createElement method

  1. @override
_InheritedProvderElement<R> createElement ()
inherited

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

It is uncommon for subclasses to override this method.

Implementation

@override
_InheritedProvderElement<T> createElement() {
  return _InheritedProvderElement<T>(this);
}