API testing in Flutter

It is very common to use API in our Flutter projects. Testing makes the Flutter project very easy to maintain, in this way you will save a lot of debugging time. Also when you have testing in place you can always check whether API working as expected.  Let’s create a simple API endpoint in PHP …

Spread the love

Call swift native code from Flutter

In this tutorial, we are going to call a simple swift method of AppDelegate.swift file from flutter. Let’s create a brand new flutter app by running the following command on your terminal Delete everything inside the method _incrementCounter() on your main.dart file and make it an async method. Now open your Runner.xcworkspace on Xcode and …

Spread the love