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 …
Monthly Archives: June 2022
How to change the status bar color in Flutter, Android only
Changing the status bar color is very easy in Flutter. There are a few ways to do this. Globally in the main function 2. Gloabbly in the MaterialApp widget in ThemeData 3. AppBar only