How to create an empty widget