Shipping based on state

Recently I got a application which work on Ionic framework for my woo-commerce site. Now everything is perfect expect shipping. I want to create state based shipping rates which get triggered in cart or checkout page after checking with the state customer inserted in his shipping address…

The app already have Custom shipping rates that is usually found in woo-commerce i.e. Flat Rate, Free Shipping etc. Now please someone help me how to do modification of codes.

I don’t have much knowledge of Ionic framework… But I can help myself with tutorials and documentations.

Please note I am totally new in this forum and if I have broken any rule by posting this please forgive me.