Flutter how to get total items in all lists
I got this list in flutter: List<dynamic> days = []; Printing it gives me this result: [[1, 3, 4, 6], [1, 2, 3]] Now I want to get total items in this list. What is the best way to do…
I got this list in flutter: List<dynamic> days = []; Printing it gives me this result: [[1, 3, 4, 6], [1, 2, 3]] Now I want to get total items in this list. What is the best way to do…
I would like to make a datacolumn clickable, such that when the user clicks on it, an overlay opens up. I've tried to add a IconButton, but i doesn't work. Does anyone has an idea how to do that properly…
I would like to make a datacolumn clickable, such that when the user clicks on it, an overlay opens up. I've tried to add a IconButton, but i doesn't work. Does anyone has an idea how to do that properly…
child: RichText( textAlign: TextAlign.start, text: const TextSpan( text: "What are you looking for?", //here style: TextStyle( color: Colors.black87, fontSize: 18.0, fontWeight: FontWeight.bold)), ), help me to insert google font on the text section. This is the code style: GoogleFonts.hammersmithOne()
Files are not only media files. It may also be .pdf, .zip, .xls and etc.. The external storage permission is permanently denied on API 33. So, we are not able to save like this method -> String path = 'This…
hi and hello everyone , i am new with flutter and dart and i am start using isar database and everything is good and ok but i have problem with Search i create function for search getAll(String search) async* {…
hi and hello everyone , i am new with flutter and dart and i am start using isar database and everything is good and ok but i have problem with Search i create function for search getAll(String search) async* {…
I'm new on the Flutter & working on the integration of POS printing machine in flutter & using the pos_printer_manager package. It shows an error in the catch part of this package i.e. type 'Future<bool?>' is not a subtype of…
I have a dart page voterhome(like dashboard),at first when I arrive at voterhome it will call the getuserdetails() function and get the adhar of user to pass it to other pages so I can navigate to other pages (like vote,voteregister…
I am new to Flutter. I made a flutter project that gets data from an API and displays them in a ListView. And if no data in snapShot then shows a loading screen. I got an error when I ran…