Element constructor

Element(
  1. Widget _widget,
  2. ContextRequest request,
  3. GetSocket? getSocket
)

Creates an element that uses the given widget sas its configuration.

Typically called by an override of Widget.createElement.

Implementation

Element(this._widget, this.request, this.getSocket);