Category "flutter"

How to add a marker in flutter to the Yandex MapKit?

How to add a marker in flutter (as far as I understand, this is placemark, but after studying the documentation. I haven't found how to add it. marker on the ma

Flutter: Using a (Future) http post request in ChangeNotifier

in one of my ChangeNotifier, if have an authentificate method. This is a method, that gets an auth - token with a Future gettoken function and then sets the som

flutter TextField use cause KeyboardListener alway show keyboard on event

using KeyboardListener to gain barcode from scanner, i can't resolve a incredibly stupid problem. scanning first with keyboardListener work perfectly. events ar

Error Running the Application on Android Mobile

I was working on a small flutter project suddenly I couldn't run the app to any android mobile. (on Web it's running Perfectly). It Shows this Error: Could

how to show a pdf fetched from an API response in flutter?

I am working in a project where I have to show certificate that the user finished a course, there is an URL of the API that uses the get method within a token t

Flutter CustomScrollView how to keep the viewport when adding item at the start of the list?

Problems: For example, there is a list of 100 messages. The current viewport of CustomCrollView is showing message 50 -> 60. When adding a new item to the st

Firebase updates doesn't change in screen (flutter)

in my project, i have a button that will change some value from firebase, what i am facing is that although i am using setState and futureBuilder, the changes d

how to delete an object from list in flutter

i want to delete an object from list of inventory in which i just have description and url of the inventory and i want to delete object of inventory by descript

Execution failed for task ':camera:compileDebugJavaWithJavac'

I have created a new flutter project and added camera plugin. after adding that dependency I got many errors. I used futter version is 2.5.2 & minSdkVersion

Flutter Web send pdf file to a WhatsApp contact using URL Launcher

I have implemented a void function to launch WhatsApp in Flutter Web using URL Launcher. However my goal is to pass a pdf file to a WhatsApp contact and not the

Flutter - BottomNavigationBar - SizedBox() Issue

I'm new to flutter development. I've been trying to add SizedBox() but I'm getting the following Error at compile time The argument type 'SizedBox' can't be ass

.zshrc:3: parse error near `>' when i open terminal on mac

i have error when i open my macOS Monterey 12.3.1 terminal after installing flutter like this : Last login: Sat May 14 10:49:04 on console /Users/malela/.zshrc

Firebase Delete User who signed it with apple correclty

I have implemented the Sign-In-With-Apple with Firebase. And I also have the functionality to delete a user. This is what I do: static Future<bool> dele

Why is my updated data not reflecting on my flutter UI except i hot restart my app while using GetX state management?

I am using getx as my statemanagment for my flutter app. After updating a field from my update profile page, i am fetching the records and displaying it, but it

Get the value of an integer from a stateful widget from another class in flutter

Learning Flutter and I am building a counter that I would like to use for a cart. I have a problem retrieving the integer value of the counter stateful widget I

How To Add Error Handling To Flutter When Running Chewie Video Player

can anyone explain why flutter will at times crash and open a new tab in your editor highlighting some prebuilt flutter code, an example being when I implement

use socket.io client in dart in different places with a single instance

I use Bloc and repositories, I'm going to use the socket in different places in the project. each api package has its own events but shares the same socket. I w

Flutter - Attempting to display a list of tweets fetched from JSON onto ListView

I am attempting to fetch a list of tweets using Flutter's HTTP library and Twitter's API endpoint, and then display the list of tweets onto a ListView widget us

how to play GStreamer media on Flutter

I want to know how can I get GStreamer to work on Flutter application to show a video on media player. Any help and tips would be appriciated

How to update my list in flutter when inserting a record?

When I save a record it doesn't update my list. Can anyone see something wrong in the code? Expanded( child: Obx( () => LazyLoadS