Flat-rate shipping is calculated using Geo-Zones. You should set up Geo Zones to use Flat-Rate shipping first.

To edit flat-rate shipping, go to  Settings -> Shipping and then click the "Edit" icon next to Flat-Rate Shipping. Now you can enter different shipping rates for different geo zones. Don't forget to click the 'Save' button after the settings.