createElement method
Creates a StatefulElement to manage this widget's location in the tree.
It is uncommon for subclasses to override this method.
Implementation
@override
// ignore: library_private_types_in_public_api
_HookConsumerElement createElement() => _HookConsumerElement(this);