Martin vs Swallow?

Hello, saw a bird this morning, it was either a swallow or a martin but I couldn’t figure it out. Was starling-ish size, long triangular wings and had a section of bright white on underneath but dark overall. Flew in a fluttery manner, changing direction a lot. Any ideas? Thanks, Ellis