As far as I can tell, the probability density of Uniform is 1/width, making the integral one. Flat returns 0 for the log probability density. If you’re after a proper probability density (for a continuous probability density function), I’d opt for Uniform.
But I might have missed an important detail…