dats coz flux or' a surface is nothing but the net no. of electric lines of force passing thru' the surface........
incase of a uniform E.........over any closed surface the total no of lines of force comming in is the total no. of force lines passing out of it............so no net lines are trapped inside........thus nett flux=0.............