Category "flutter"

How can I make a table in flutter where I can see the prices of items for different stores side by side?

I have the following class and list: Class: class ProductPrice { final int productPriceId; final String establishment; final String product; final doubl

Flutter WebView file upload does not working to android app ,IOS app also ok. Anyone can help me how to solve this problem?

Here I have added my webview code in bellow. Website perfectly loaded but i couldn't camera & file chooser option to upload server. WebView( initialUrl: '',

how can I search inside listView using flutter

import 'package:flutter/material.dart'; import '../app_data.dart'; import '../widgets/TopicItem.dart'; class TitleTopic extends StatefulWidget { @override Sta

POST request gets blocked on Python backend. GET request works fine

I am building a web app where the front-end is done with Flutter while the back-end is with Python. GET requests work fine while POST requests get blocked becau

How to use getx controller, binding,getview?

I trying to create small project with getx, I have 3 file's get view,getxcontroller,binding and then when I'm running I get issue like this : Unhandled Excepti

How to expire/dispose Notifications in Flutter App

I enabled notifications in my app and its working fine but how can I expire an old notification if a new one arrives or expire it after a certain duration?

i try to make permission handler for flutter

I am building a music player application. I want to ask the user to allow access to storage when the application is opened. I used this method and it works prop

Consumer and context.watch in MultiProvider

I am trying Flutter for the first time, and I am a little confused by the MultiProvider class. The question is straightforward, but I didn't find an explanation

How to join two key values from map in dart?

I have this List<Map>: var listMap = [ { "label": "Title", "align": "left", "width": 50 }, {

How to create unique id for each collection in Firebase?

I want to create a unique id for collection call 'Reservation' and I'm not sure how to do it so. It currently has name, plate number, phone number and timestamp

how to add symbols to text at flutter?

What is the way to write these symbols in Flutter (the symbols directed by the red arrow on image)?

Can't open a project file, keeps showing file existed while it doesn't

There is this flutter project file that I want to import, it's probably an old project, when I try importing it I get this error message of an existing file but

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

How to encode the passed data to JSON in the form in Flutter?

I have passed the data in a variable of the previous screen to the next using the guidance of the chosen answer in this post: Passing data between screens in Fl

Flutter StreamBuilder shows Firebase data even when I'm offline

This is not a problematic question, it was asked because just wanted to know what's actually going on behind it, I can't find an answer in any documentation. Wh

Publishing status: Rejected - Google play store app review

I am facing the below issue, I have previously declared the permissions but since i do not need the permissions any more, I removed the permissions from the man

Cannot create directory in ios flutter

Im using next code: Directory dir = getApplicationDocumentsDirectory(); Directory newDir = Directory('$dir/test'); await newDir.create(); and added next code i

Unhandled Exception: HiveError: Cannot read, unknown typeId: 34. Did you forget to register an adapter ? ( Flutter )

App is not restarting after writes made using hive in disk. It's throwing the above error and app is not opening.

How to get file extension from base64 String in Flutter | Dart

I have a base64 string of a document from api. I want to know which extension/file format is that. Because if it is in jpg/jpeg/png i want to show it in image w