Is there any documentation available for developing custom widget
One answer
There is an entry point to all supported APIs hereĀ https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding - you want the DNG Client Extension API - follow that there are examples for each version which you can explore and/or use as a basis for your own extension.