Category "flutter"

: assert(map['apiKey'] != null, "'apiKey' cannot be null."),

i'm trying to develop an app on Android studio, with firebase tools. Despite i have a file in the lib firebase_options (created with flutterfire configure), it

Flutter app stuck on Installing and Launching step for physical iPhone

Annoying problem here for my Flutter app: iOS13.3, Xcode11.3 on a physical iPhoneX. The iOS-Simulators all work. The problem is only happening on a physical dev

flutter dropdownbutton issue with provider statemangement

hello guys as a beginner on flutter i'm having an issue with the dropdownbutton widget as shown on the joined GIF on the backend everything seems to work norma

Flutter - Unhandled Exception: type 'String' is not a subtype of type 'int' of 'index'

I'm trying to get an api, I can print the api response in the console. However, when I'm receive the respond to my model class, console shows and error like thi

How to Auto New Line if a text overflows flutter

Hello right now I am making Quran App.. I am fetching data from json file.I would like to ask how do I create a new line if it overflows like in the picture? I

How to add `overflow` to SelectableText in Flutter?

There is SelectableText widget that allows you to make text selectable. But it misses the overflow parameter, which is required... Is there any workaround, whic

Can't send an email through url_launcher

I try to send an email whenever a user clicks on an individual's email address. However, I ran into an error. I am testing through the Android emulator. Doesn't

Flutter problems: "Could not resolve all artifacts for configuration ':classpath' "

I am trying to run a flutter app I am writing on my device but when I try to run, I never get past the "assembleDebug" stage and get this message in the termina

bottom navigation bar: Navigate back to nav bar item from any screen in the app / Navigator.pushNamed instead of creating an object instance flutter

I would like to use Navigator.pushNamed(context, '/route-name'); instead of creating an object instance. I'm trying to get back to a single instance of the call

How to upload Audio file to wordpress via Rest API from flutter

I am able to upload images via API to WordPress but not audio files, it gives HTTP 500 error when I try to pass the Audio file to the method. But when I pass th

How can I spread a List in Dart?

Is there any way to unpack a list in dart? I want to do something similar to this python snippet: return proc(*args)

Android Studio SDKmanager Error: Could not find or load main class

Currently I am trying to set up my Android Studio environment for Flutter and I am unable to update sdkmanager or else I would obtain the following errors : Th

error running pod install error launching application on iphone11 Pro Max

I finished my flutter app, and i want to test it in ios device, so i used a mac laptop and i did all the installations but when i did the command "flutter run"

Flutter Alarm Manager Missing Plugin Exception

I'm having trouble setting up a daily task to complete certain functions. I've managed to get android_alarm_manager to work, I currently, have it set to print a

Use Url.http for GET query

In my browser it returns the correct json http://localhost:8008/api/instsets/?genre=rock Howeber in dart code final response = await http.get(Uri.http('localho

Flutter DropdownButton - Add title for separating items

Im trying to implement a DropdownButton that can separate specific items from each other with a title (see desired output on image below, the titles are in gree

Error when hitting the back button in camera

getting this issue when we click on back camera while using the app .. any one could you please find and send the solution to this issue in flutter Exception ha

Flutter Scrollcontroller maxScrollExtent doesn't go till the end of list

it stops before last element in list. Is there a way to go till the end container of the last element controller ..animateTo(

list of circle avatars that are on top of each other

I am working in a Flutter project and I have an issue. I have a list of people and I wanna show their pictures one by one as in the image below. I saw an answer

androidx.room.RoomOpenHelper.e (RoomOpenHelper.java:15)

I'm getting this error in Crashlytics (Firebase). The app is built in Flutter and I'm not sure about this error that I don't get locally: Fatal Exception: java.