The Shortcodes in Widgets allows shortcodes to be used in widgets.
The Toggle widget shows an example of the Toggle Show/Hide shortcode being used in a widget.
Complimentary Plugins
azurecurve has the following plugins which allow shortcodes to be used in comments and widgets: