Based Zoom to Found Features http://help.arcgis.com/en/webapi/flex/samples/index.html#/Zoom_to_found_features/01nq0000005n000000/, I created a widget. It works well except for adding the graphicsLayer on the map. I run the debug. From the Expressions window, it shows the values of its graphicsLayer and graphicProvider. But the graphicsLyaer does not display. I wish someone can help for his/her experience. Thanks.
If you mean widget as in Flex Viewer than you are still posting to the wrong forum. Or maybe you are using the term widget loosely. Let me know so I know how to procede in answering you.