Is there a way to modify the flat rate option?

Hi there,
I would like to use the flat rate option but need to be able to change what the rate is based on the city. Is there a way to do this?
Thanks
Tanya