I am working on center console design, and I added flanges to side. For my design I want to have the front of the console fold out for maintanence and use the flanges to create a seal against the remaining framing for the console. The issue I am having is connecting the flanges together at the bends. Some areas have gaps while others are overlapped. How can I can I fix the gaps and still have it come out as a flat plate.

In the Edge Flange feature, select all of the adjacent lines to create the flanges around the shape. They should "auto-miter". You can also use the "Closed Corner" feature. Also, maybe, look at using a miter flange but is not really needed unless you are doing multiple flange shapes at the same time.
A Miter Flange will work for the inner. The outer will need pieces welded in afterward to close the corners.
By selecting all required edges in one Edge Flange operation, SW will help you with the corners (where feasible).
But as Mr. Sitek correctly noted, infill pieces will be required.
How do I use miter edge to close the gaps
Honestly, if you need to include welded pieces to close the open mitred ends, you may be better served by simply not bothering to fold the flanges (this would dramatically reduce the complexity of the folding process too,) and just add a laser-cut panel on each side, then weld and smooth the edges. Unless maybe you can find someone who can bead roll those flanges for you.
Don't forget 1 thing. Someone actually has to make this part. Just because you can model it in SolidWorks doesn't mean that the part can actually be made. I'd be talking to your press brake operator. If the part can't be made, you haven't actually done anything.