initControl method

  1. @protected
T? initControl()

Tries to find or construct instance of requested Type. If init args contains ControlModel of requested Type, it will be used as control, otherwise Control.get will provide requested ControlModel. Check initControls for more dependency possibilities. Returns ControlModel of given Type.

Implementation

@protected
T? initControl() => getControl<T>(key: factoryKey);