It should work. Try printing out a string after creating the widget to see if the code is running. Have you tried with any other widgets?
It should work. Try printing out a string after creating the widget to see if the code is running. Have you tried with any other widgets?