{widget title="Demo dashboard widget" width="half"}
Random entry: {exp:channel:entries dynamic="no" orderby="random" limit="1"}{title}{/exp:channel:entries}
To see this code please visit the template pro-dashboard-widgets/sample-widget.