Add widget to module?

Is there a way to include a widget as part of a module?  I have a shared module with colleagues, and I wanted to include the widget with it.  Do I have to package it separately somehow instead? Thanks. 
1 answers

As long as a widget is used in a module it will be included in the exported mpk. You can verify that this is case by unzipping the mpk file and checking inside the widgets flder.