How to convert Yii 1.1.x widgets into Yii2 compatible widgets?

Hi guys,

How to convert Yii 1.1.x widgets into Yii2 compatible widgets? Any tweaks? ideas?

Cheers Happy Coding.