By default it is not possible to use Shortcodes inside the Text Widget. Some Themes enable this feature, so there’s no need for you to do this if you’d like to use Shortcodes inside Text Widgets. If your Theme does not enable this feature, this simple line of code does the trick.
Enable Shortcodes in Text Widgets
WORDPRESS CODE SNIPPET