flutter – how to properly handle list of TextEditingController for a five TextFormField generated by the loop used by listview.builder?

I’m having a future list to work with the listview.builder. I have another list List<QuizQuestion> listofquizquestionsforquiz=GlobalParams.quizmodel.quizQuestions; for listofquizquestionsforquiz I want every item in the list of TextEditingController to handle the corresponding TextFormField, meaning for controllers[0] I want it to be attached and work with the first TextFormField the Listview.builder generates, then the second textedintingcontroller to … Read more

android – In flutter how to display a png image above a background color?

I want to achieve this But, I got this : I tried editing pubspec.yaml’s file but it doesn’t display the image, it seems that it doesn’t recognize it, I’m learning flutter so I’m not sure if the program itself can do that, it would be great if you guys can help me to solve this … Read more

how to show multiple comment_tree: ^0.3.0 in flutter , I want to show multiple comment in comment page Pleas help me

‘here is comment widget i want to show this multiple comment widget in comment page and i also try to lot of trying to put this comment widget in listview when i put this widget in listview my screen is not rendered. but when i put this in gridview it is showing all comment properly … Read more

What is Flutter? Mobile app development for Android, iOS, and more

There was a time when you had to choose between creating universal mobile apps and native apps. Universal apps used web technologies like HTML and JavaScript, which often performed badly in mobile devices. Native apps performed better because they were written separately for each platform you wanted to support, but they were expensive and required … Read more

flutter – MissingStubError: ‘update’ No stub was found which matches the arguments of this method call: update

I’m following a tutorial for a messaging app using flutter & it’s connecting to rethinkdb. I’m trying to follow along with the latest packages and versions. I’m on a section where the author is using mockito for testing. I’m getting an error. I’m a beginner so the error is likely to be something very simple … Read more

flutter – Kindly help me I am facing this issue during state management and using provider (firebase): “Error: Unexpected null value.at Object.thr

I am doing state management and using providers here are my file of code: I was trying to acess my user details stored through providers in firebase but I get the null value error. I also call the init state but still i am getting this error. Like I can access the user details by … Read more

listview – Displaying specific items in a lisview from the api response Flutter

Good day everyone I want to display items from the api data in a listview on the next page on button submit, may you please help. I have managed to print the api data response in the console using response.data, now I just want to show certain items in a list, not all the data. … Read more

dart – Flutter GridView Item Selection Color Change (on tap)

I have created a GridView, and the next step I’m trying to achieve is changing the color of the container when it is tapped/ selected. When I try and do it with both Inkwell and GestureDetector, it changes the color of both containers in the row, rather than changing each one individually. I want to … Read more

flutter – FirebaseMessaging.instance.getInitialMessage return null message when I click on notification

I use Firebase messaging in my Flutter app , when I click on the notification background , I want to go to another specific screen so FirebaseMessaging.instance.getInitialMessage() triggered but message returns null . And for foreground notification I use onMessageOpenedApp when I click on the notification , onMessageOpenedApp doesn’t trigger . Here is the object … Read more