Summary
We created two different widgets in this chapter, where you learned to customize the widget with the help of options. You also learned to implement custom callbacks for the widget as well. All in all, we covered the full life cycle of a widget. With the help of this chapter, you will be able to create your own widgets with ease.
Moving forward, in the next chapter, you will learn to create a "colorpicker" tool and you will also allow users to convert RGB values of colors to Hex and vice versa.