Category "flutter"

using http package in flutter for networking APIs is a good practice OR its better to use Retrofit, chopper or dio?

Actually I want to know which package is more beneficial from the user perspective, if there are other advantage pls let know in the comments. THANK YOU

How to set kate voice for ios en-GB. in flutter - flutter_tts pub

How to set kate voice for ios en-GB. I m doing the below code but it's doing Daniel's voice and I want to set kete voice for the same. Future setLanguage({Strin

Does autoDispose in riverpod works same as dispose lifecycle in Flutter?

Does autoDispose in Riverpod's StateProvider disposes controllers? Does both the following statements works similarly? final _controller = StateProvider.autoDis

Flutter Integration Test: How to wait until element is disappear with specific time out

I am writing a Flutter Integration Test and I'm looking for a code which that allows the automated test to run and proceed after the Login (check step below) fi

Flutter : Strange behavior of Shared Preferences

I have a problem with inconsistent shared preferences value. I will try to describe it as simple as possible. I'm using Firebase Cloud Messaging for push notifi

Is there a way to force changes from the last hot reload to persist after stopping debug session?

In Android Studio after ending the debug/run session and/or unplugging my phone from the computer and restarting the app, the locally installed app seems to not

Flutter web CORS issue

I am using flutter-web with .net webapi. To shoot my requests, I have tried Dio and Dart HTTP packages. Neither of the two have worked because of CORS issue. Ki

How i can make this container in flutter?

How i can make this container in flutter?? Path getClip(Size size) { final path = Path(); final halfWidth = size.width / 2; final halfSpace = space

I/UrlLauncher(17669): component name for (url) is null

Why does it throw an error and give me the link is empty even though the link exists? And when I use launch (url) alone, the link opens without any problems S

Flutter - Overridden dependencies

After running "flutter pub get", I got this error: Warning: You are using these overridden dependencies: ! path 1.6.4

flutter: twitter_login Exception: Exception: HttpException: Failed Forbidden

I have made the following changes into a Flutter developer account: redirect url: app_name:// Also I've made the following changes into Info.plist on iOS <ke

I/UrlLauncher(17669): component name for (url) is null

Why does it throw an error and give me the link is empty even though the link exists? And when I use launch (url) alone, the link opens without any problems S

flutter: twitter_login Exception: Exception: HttpException: Failed Forbidden

I have made the following changes into a Flutter developer account: redirect url: app_name:// Also I've made the following changes into Info.plist on iOS <ke

Where to put widget init/deinit code in Flutter

I'm building a widget that listens for UDP packets on the network and then updates the child widgets accordingly. I'm not sure where to put the init code for th

How to stop "keychain access" permission dialog on MacOS when debugging Flutter app on Visual Studio Code?

I had just moved from Android Studio to Visual Studio Code. I'm using Firebase in my app which I debug by running it on MacOS. Every time I do "Start Debugging"

Flutter -ios - pod install gRPC-C++ sed ssl issue

I have been running through this issue when I do pod install in my flutter project. (I'm going to answer this myself as I reached the solution after couple of h

TailwindCSS-like framework for Flutter?

Coming from a web dev background, I have grown to appreciate how quickly I can style a site with TailwindCSS utility classes. Looking around, I don't see many o

Flutter In App purchase (subscription) automatically refund after three days

I have integrated in flutter in_app_purchase subscription (android ), but it always automatically refund after 3 days I am using below code for flutter subscrip

Flutter plugins not installed

I have installed both flutter and Dart plugins on Android Studio but when I run flutter doctor, it shows that plugins are not installed Doctor summary (to see a

How to draw over other apps with flutter

I have an Android app which renders a FAB with fan out options over other apps (like AZ Screen recorder. Refer image). I want to leverage Flutter for its ease o