To implement widget as it is (created specifically for ArcGIS Viewer for Flex) you must implement:
all interfaces and base classes used to create widget;
widget managers and containers;
widget configurations file (*.xml) parsers;
...
The result of this tedious work will be trimmed (without some functionality) ArcGIS Viewer for Flex, wasted time, corruption of your nervous system :rolleyes: