A.G.Barr shrugged off the effects of poor weather and a toughening UK market to deliver growth in sales, margin and pretax profits for its full year.