Flowers Foods has forecast a return to earnings growth in 2012 despite continued pressure from input costs.