make sure you don't have "don't keep activities" checked in Developer options,as that feature doesn't allow some widgets to work.
also factory reset deletes user installed apps,customizations etc but it will not erase the SD card.
ps: do you even see the widgets in the widget menu or they are gone?