createElement method

  1. @protected
HookableElement createElement()
override

Creates a HookableElement for the widget and stores it in the private Variable. WARNING: This function must not be overriden.

Implementation

@protected
HookableElement createElement() {
  this._hookableElement = HookableElement(this);
  return this._hookableElement;
}