It's certainly a lot more fun, but if your goal is revenue, particularly as a solo developer, you're going to have to do very well on your own to match what you can easily make as a consultant/employee.
I don't think it has to be either/or. I took about a month off to write my iOS app. While it never made me rich, it still provides a nice income stream that continues today. Now I have my regular job revenue and app sales revenue.