Category "flutter"

How to get the app I'm developing to send me a notification to remind me for an event?

I'm making a student organizer app, where I have a module to register the student for an event. Once it has been registered, I want the app to send a notificati

The flutter app doesn't run with java.lang.AssertionError

An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.jav

Error: Member not found: 'packageRoot', how to solve ignore: deprecated_member_use in Flutter?

In my flutter project, I have made some updates of plugins and then used flutter upgrade. After that, whenever I am running my flutter project it is showing fol

How do I add a country code dropbox in a login page in flutter?

I am trying to add a country code drop box in a login page with the mobile number ,but it is showing some or the other errors .I need an easy approach to add co

How can I solve a problem with the "Checkbox" icon?

i follow a german flutter tutorial. In this tutorial we build a simple To-Do list. I have the following problem: https://github.com/simpleclub/startup_teens_flu

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