It was a band shown in Trek, not an entire flat spherical coveringGeneral reminder that the galactic perimeter can be reached by vertical travel instead of horizontal.
And around the spiral arms, the galaxy is only about 1,000 light years thick. So reaching the galactic perimeter wouldn't even be the equivalent of traveling from one end of the Federation to the other.