code: public function renderWidget( $config = [] ) {
  
  		$widgetHtml = $this->render( $this->template, [
  			'name' => $this->getModelName(),
  			'attribute' => $this->attribute,
  			'label' => $this->label,
  			'texture' => $this->getTexture(),
  			'disabled' => $this->disabled
  		]);
  
  		if( $this->wrap ) {
  
  			return Html::tag( $this->wrapper, $widgetHtml, $this->options );
  		}
  
  		return $widgetHtml;
  	}
docs: cmsgears\core\common\base\Widget