Category "flutter"

How to manually delete a textfield in flutter?

I am making a growable Textfield widget that a user can add as many textfield as he wants. I am using a list of textfields in this case. If user presses button

How do I setup a scoreboard in flutter? (using firebase)

Hi I'm having trouble setting up my scoreboard in flutter, everything is working as intended except one part. I want to create a scoreboard which displays a use

keystorePropertiesFile - Gradle task assembleDebug failed with exit code 1

I am getting this error after trying to run the app in an emulator. FAILURE: Build failed with an exception. * Where: Build file 'D:\Projects\news-app\news\mai

How to reduce Firestore reads - Flutter?

I built an E-commerce app using Firebase/Firestore and I am using Stream Builder or Future Builder and facing high Firestore reads. When I press on Hot-Reload

How to concatenate multiple Flutter TextFormField's in an output Text?

The code simplified below uses a Form composed of two TextFormField's. Under the form, a submit button does concatenate the two input fields in an output Text f

Image from device path not shown

I have downloaded a file to getApplicationDocumentsDirectory(). Then I have inserted the file path to a SQLite database. In this case the file is a png file, a

shake and screenshot events dont work instabug flutter

i opened instabug flutter example app (from github repository) with shake and screenshot event but it doesnt work. (floating button works) Is it possible to sha

I'm getting this error anyone know the solution

I'm getting this error anyone know the solution FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':flutter_plugin_android_lif

How to get the metadata of saved object/file in aws s3 using amplify - flutter

I am new to AWS amplify framework. I am saving images from my flutter app with custom metadata. In the same way, I would like to use those metadata to display i

I want to calculate each number from the array in flutter

I have an array in the flutter final list = [1, 2, 3, 4, 5]; I want to loop through the array to calculate the sum of all the items in the array,how i can?

BlocListener confusion

I am trying to make an app using flutter blocs, but I am having troubles with the BlocListener not being called and I can't figure out what I'm doing wrong. Her

Define Extension function on GETx

I am trying to define an extension function on GetInterface as extension FindOrPut on GetInterface { S findOrPut<S>(S dependency,{String? tag}){ if(

Integrating HERE Maps with Flutter Typeahead package for search suggestions

I am using flutter_typeahead for showing place suggestions to users as they search using a text field and fetching these suggestions from HERE Maps. flutter typ

Script '/opt/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102

I am trying to build a flutter app using google Cloud Build, I am constantly getting this error 1: [+1000 ms] FAILURE: Build failed with an exception. 1: [

Dart preview Flutter UI guides is not present in vscode?

I can't find the dart preview flutter UI Guides... I have installed flutter and dart extensions in vscode... Can anyone help?? my Flutter version 2.10.4 and Dar

How to convert a stream to another type without using map?

I've this code: Stream<int> get fooStream async* { barStream.listen((_) async* { int baz = await getBaz(); yield baz; // Does not work });

check weather the user readed data or not in flutter using firestore

I was developing the chat app in flutter using firestore, the users successfully chat one-to-one. but I also want to send the notification to the user that some

Why when I install my apps APK on Physical Android Device says App Not Installed

Attention great developers. I have hit a snag. I have built this application in flutter and has been in development for over a year. When I run the command flut

DraggableScrollableSheet collapsing in several cases

I have a DraggableScrollableSheet, something like DraggableScrollableSheet( initialChildSize: 0, snap: true, snapSizes: _snapSizes

MaterialApp rebuild when Home widget calls build function

My app's MyApp widget, which returns MaterialApp (as done in virtually every Flutter app) is rebuild whenever the build function on the home widget is called. I