Most voted "flutter" questions
Flutter is a mobile application development SDK created by Google.
Learn more…510 questions
Sort by count of
-
0
votes1
answer46
viewsIn flutter, is there any difference between using dependencies?
Hello, in the pubspec.yaml, there is some difference between using dependencies depedencies and dev-dependencies?…
-
0
votes2
answers998
viewsHTTP Flutter request sending xml data to body
I would like help processing an HTTP request in Flutter (in this case using the SEARCH method to filter files on a Webdav (Nextcloud) file server where I need to send XML type data in the request…
-
0
votes1
answer1303
viewsPass data from one screen to another in Flutter with Firestore
I need a gigantic help, I’m having a hard time passing data from one screen to another on Flutter, I’m using Firebase with Firestore on a stream, but I don’t know what I put in Navigator, and how to…
-
0
votes2
answers55
viewserror in update flutter + firebase method
Good afternoon! I’ve got an item error repo.senha and repo.nome. void atualizar(Repositor repo) async { var update = Map<String, String>(); update.putIfAbsent("senha", repo.senha);…
-
0
votes1
answer35
viewsSqlite is not creating a table
Screenshots of the ERROR that appears. Sqlite is not creating a table and I can’t fix the error if anyone can help me…
-
0
votes1
answer1150
viewsHow to display async sqlite query inside a Widget in Flutter
Good morning! I have an application with sqlite. The idea is to take the value entered by the user and display on the homepage through sum. I can display the value correctly by android studio…
-
0
votes1
answer265
viewsDifference between debug SHA-1 and production
I started studying about the Flutter framework and would like to know what is the difference between SHA-1’s DEBUG and RELEASE (Production), because reading the documentation provided by Flutter,…
flutterasked 4 years, 1 month ago Renato M Barbosa 25 -
0
votes1
answer1226
viewsReturn a list of flutter cards
I’m trying to return a list of cards according to the data I have in the database. For example, if I have three documents in the bank, then the application has to create three cards, and so on. The…
-
0
votes2
answers65
viewsHow to make a filter with != or Isnotiqualto in the Firestore?
Hello! I need to make an appointment with filter on firestore but I read in the documentation that they do not have "!=" or "Isnotiqualto" to create a restriction. I wanted to do something like:…
-
0
votes0
answers18
viewsI am having difficulty in pdf.addPage() FLUTTER
I’m putting this table inside the PDF: pdf.addPage( pw.MultiPage( build: (context) => [ pw.Table.fromTextArray(context: context, data: <List<String>>[ <String>['Produto',…
-
0
votes0
answers579
viewsError: Unhandled Exception: type '_Internallinkedhashmap<String, Dynamic>' is not a subtype of type 'int' in Flutter
Hey, how you doing? I am still learning flutter and am having a problem authenticating the user. Even if I receive the status 200, I cannot navigate to the authorized page. I wonder if someone could…
-
0
votes0
answers1152
viewsInstantiating a method in another class
I am instantiating a method of another class, in which it uses a list filled by initState, but when entering the method I am calling, the list comes empty, as if it had not been executed, I’m…
-
0
votes1
answer1128
viewsError posting to Play Store (At the moment, the desired level of your app’s API is 28.)
I’m getting the following error while trying to publish my App At the moment, the desired level of your app’s API is 28. However, this level must be at least 29 How to change the API level to 29?…
flutterasked 4 years ago rubStackOverflow 7,372 -
0
votes1
answer205
viewsPopular Dropdown with api
Hello, I am trying to recover the json data from a URL, I am following this tutorial https://inducesmile.com/google-flutter/how-to-populate-dropdownbutton-using-json-api-in-flutter/ I was able to…
-
0
votes2
answers448
viewsHow to remove back arrow from home screen (flutter)?
People I’m having a problem the moment I logout type, I press the icon to logout it leaves the app, only when soon again it presents an arrow back on the home screen. my code is like this:…
-
0
votes0
answers56
viewsHow to List Several Formulars in FLUTTER Within a Card
I’m trying to list the information inside the forms in a single Card, but I can’t because the Card has only one property title and a subtitle. My Code : @override Widget build(BuildContext context)…
-
0
votes0
answers31
viewsFirebase: Rename events
I received from my company the work of implementing Firebase in our flutter app, studied firebase and found the Events page of Firebase Analytics, and saw that the events already "came with…
-
0
votes0
answers40
viewsscaffold appearing several times - Flutter/Mobx
I have the screen below that is controlled by MOBX, for some reason the scaffold when it falls into condition it ends up being presented several times in a row. class ScheduleEnableScheduleScreen…
flutterasked 3 years, 10 months ago Dieinimy Maganha 13 -
0
votes0
answers36
viewsRangeerror (index): Invalid value: Valid value range is Empty: 0
People I am trying to return data from my api in the application and I am using Getx to manage the state, but in my View I am having the error Rangeerror (index): Invalid value: Valid value range is…
-
0
votes1
answer1139
viewsHow to use profile image in flutter?
I have a card represented by showing the user photo + its name, when I search for a local image it loads the image normally, but when I need to load this image through a link of my api it does not…
-
0
votes2
answers157
viewsPre-inserted text from the database
In my app it would be interesting this text come from the bank not in formed of placeholder but in a text where he could change only a comma if he wanted, but I can’t find a way to do that because…
-
0
votes1
answer615
viewsCRUD in flutter
I have a doubt, I know what the problem is but I have no idea how to solve. In a crud I have a parameter idade which is int (defined as INTEGER in the bank) and I can not register in the bank but if…
-
0
votes0
answers53
viewsCannot find declaration to go to - Flutter Update
Hello, I updated the flutter recently, and now the project does not want to run... I believe it is something of the new update... That’s the mistake down there. Version:…
-
0
votes0
answers30
viewsHow to recover a list?
hello, I’m making a screen where the user can add new words, edit them and delete them and also can search the words they added. However I want the list of words that the user made appears on the…
-
0
votes0
answers35
viewsFlutter: Execution failed for task ':app:compileReleaseJavaWithJavac'
I’m trying to build an android app on Flutter and it returns me this error. I already updated the SDK, already checked the environment variables and nothing. Someone knows what I can do?…
-
0
votes0
answers26
viewsScheduled Notifications (scheduled notifications) not working
I have a problem with an app that uses the local_notifications plugin to flutter. unscheduled notifications are shown when I click the button, but scheduled notifications are not displayed. follow…
-
0
votes1
answer23
viewsHow to set Flutter correctly for cloud_firestore
Hello, someone can help me! I’m configuring flutter design with firebase access. I’m using package firebase_core: 1.3.0 and cloud_firestore: 2.2.2 Works for ok android emulator. The firebase…
-
0
votes1
answer30
viewsFlutter Certificate
I’m having error to query an api, because it is with error in the certificate I wanted to know if anyone has any idea what can be already tried several ways and nothing.…
-
0
votes1
answer2975
viewsFlutter passing data between screens
I have a doubt that I believe to be simple but as I have never done so I am struggling. I want to pass the data of a contact to another screen of the app. Where I call an Actionsheet that appears…
-
0
votes0
answers17
viewsDoubt about Flutter editor using VS code
Does anyone know which command to use in Settings or which editor to use for Dart/flutter so that it does not delete blank lines when using save or shortcut to auto configure code? thank you…
-
0
votes0
answers10
viewsBLE plugin limit Bluetooth connection by distance
need to perform a bluetooth connection of an app in Xamarin with another device. I found a plugin called Plugin.BLE. The point is this, the connection between the 2 devices should occur only if both…
-
0
votes0
answers18
viewsProblem when generating apk in flutter
Good morning! Everything was working normally, after making some changes in communication with the api, started to give this error, had already been able to generate the apk other times in this…
-
0
votes0
answers357
viewsFlutter - Vertical Menu inside a bottomNavigaationBar
I’m wearing a bottomNavigationBar in my App and the navigation is working perfectly, however, in one of the items(pages) I need to have another menu in the vertical position(columns) and when…
-
0
votes0
answers24
viewshow to resolve this error? (The argument type 'double' can’t be Assigned to the Parameter type 'int')
if (result & 1 == 1) { result = ~result; } var result1 = (result >> 1) * 0.00001; lList.add(result1); } while (index < len); the project is in . Dart in flutter error: "The argument…
-
0
votes0
answers8
viewsNo device available even with Simulator open - Flutter
Even with open simulator, flutter, Vscode and Android studio does not recognize it. As my mac is old, it n manages to upgrade to Mojave onwards. Even so I installed version 10.2 of Xcode and changed…
flutterasked 3 years, 3 months ago Gustavo Luzsa 11 -
0
votes1
answer828
viewsPageview with Pagecontroller in Flutter
Please someone tell me why the buttons that should go through the screens are not working right. I tested on an android emulator and on an android phone and nothing to correctly pass the view.…
-
0
votes1
answer403
viewsOverlay Widgets - Flutter
When I activate the Navigator.pushReplacement( context, CupertinoPageRoute( builder: (context) => ContactFound(key, index, model))); This screen is under a menu (Instagram style). I wonder if you…
-
0
votes1
answer2178
viewsHow to resolve "the getter data was called on null"?
Personal talk! I’m trying to create a function changeLikes where my firebase document (snapshot) has its likes incremented by Firebase by clicking on ontap through the FieldValue. However, I am…
-
0
votes1
answer1107
viewsDecimal Flutter
Gentlemen, good night! I have a problem in my calculation because it is coming out broken values, Ex: 13,3434 I would like you to leave only 13,34. Follow the code for better viewing. Future…
-
0
votes1
answer101
viewsHow to send a socket after receiving the previous socket result? Flutter Dart
I am performing a socket communication using flutter in a Modbus equipment, I need to send several readings on the equipment, but one overlaps the other before the answer of the previous socket. I…
-
0
votes1
answer86
viewsHow do I getter my request in flutter?
I have a function that performs login and I need to save the token on storage: login() async { setState(() { isLoading = true; }); final response = await http.post('https://xxx.net/api/login', body:…
-
0
votes2
answers1029
viewsImage in Listtile - Flutter
I’m not able to leave my image in my Listtile, when I try to scale it only goes horizontal and never vertical, example: Following code, I’m trying to scale with the property Radius:…
-
0
votes1
answer2743
viewsFlutter: type 'Future<Dynamic>' is not a subtype of type widget
I’m trying to run a check through the token: If there is a token, display the page Home and, if not, displays the page Login. I tried this way: main.Dart: class MyApp extends StatelessWidget { //…
-
0
votes1
answer509
viewsList of flutter images
In my flutter app I want to display images, and these images will be grouped by categories/albums. These images are brought in the form of an array, in this format: This is my current function to…
-
0
votes1
answer278
viewsProblem when returning from a Custonalertdialog - Flutter
I have a Custonalertdialog that saves information in the bank, for this, by clicking the SEND button I use a await. The information is saved in the database successfully, but the application hangs…
-
0
votes0
answers322
viewsUnhandled Exception: Rangeerror (index): Index out of range: index should be Less than
I’m having a problem trying to save a pdf using the "pdf_dart" library. I assume the problem is linked to the image I’m downloading from the internet to try to attach to the pdf but I’m not sure…
-
0
votes1
answer548
viewsFirebase data checkbox in Flutter
I created a method that returns data from Firebase and creates a checklist containing the name. The problem is, when I select a checkbox, it selects all of them. What I did was extract Firebase…
-
0
votes1
answer327
viewsCheck if table exists before entering value in the Sqflite -- Flutter database
I am developing an app, my problem is that with app updates I can use other tables that do not yet exist in the existing database. The solution that came to mind was always before entering a value…
-
0
votes1
answer785
viewsHow to use the value of a Future in flutter
I’m using Flutter to create a mobile app with two collections in the Cloud Firestore, the collection user and the collection person. The collection person stores the information of all persons who…
-
0
votes1
answer140
viewsError in Calculus
I have a problem with the conversion of String for double. As you can see in the code, my if for in the variable latas and difvalor because you’re making the mistake: A value of type 'double' can’t…