The method ‘_TextStyleProxy.getTextStyle’ has fewer named arguments than those of overridden method ‘TextStyle.getTextStyle’.

The method ‘_TextStyleProxy.getTextStyle’ has fewer named arguments than those of overridden method ‘TextStyle.getTextStyle’. I got this error today when I tried to build my project, my project was running fine before upgrading my AndroidStudio to Android Studio Hedgehog | 2023.1.1. I found Dart and Flutter plugins also were not working on my AndroidStudio, after running …

Spread the love

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