Category "flutter"

Could not resolve com.google.android.gms:play-services-location:16.+

guys, when I tried to run my application on real device but I found that error after upgrading to 1.22.2: Required by: project :app > project :locatio

Creating interface in dart like typescript

I am from typescript background and new to dart, in typescript we are able to define interface and attach those types to the required variable which have the co

Flutter - Can't get collection from firestore

_getLatestCompletedWorkout() async { try { QuerySnapshot workouts; workouts = await FirebaseFirestore.instance .collection('users')

showing Could not determine the dependencies of task ':app:compileFlutterBuildDebug'. in flutter when try to run application

this is the error that shows when running the app. I tried running both debug mod and without debug and it still shows this error * What went wrong: Could not d

Push notification doesn't pop up on Android

I am creating flutter application using FCM for sending push notifications. I am sending notifications with Cloud Functions from website by sending JSON to devi

error: 'Flutter/Flutter.h' file not found when flutter run on iOS

I don't know why but I can't build or run the App in my new Macbook, I run the same folder on another Mac or my windows computer and runs perfectly. here when I

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