If they are eating flakes try keeping them on that. For variety you can try giving them high quality pellets (NLS), freeze dried krill, and bloodworms.
Wild caught Bluegills will appreciate some live foods mixed into their diet (some may only take live foods at first). Small minnows, crickets, wax worms, ghost shrimp, and earthworms are all good options to feed sunfish.