Category "flutter"

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

Fl_chart barChart sample5. Need help resolving the errors

Fl_chart is not clear with how to implement their sample charts. I copied and pasted the sample code exact and yet there seems to be so much more that needs to

Flutter overide method back()

How can I make the back button work in android the same way as home. If I click on back, the application is killed, but I need the back button to work the same

Keyboard navigation between text fields & dropdown choices by pressing enter key not only tab key in Flutter web & desktop?

I have a big input form that is consist of textfields & dropdown choices inside table I want to navigate between them with pressing key enter

The plugin `path_provider_android` doesn't have a main class defined

Since i wasn't using the plugin path_provider anymore i tried to delet it, then it gave me a warning, so i deleted a folder caled "data" know i'm trying to do f

embedding golang server with flutter

I have web server written in golang which uses graphql package gqlgen and gorm for database. Since golang can be compiled and run on android I wanted to create

Flutter Permission Request does not appear

I would like that when it is the first time on the application, it asks the user if it can access the photos. But when I uninstall the application to test, the

Invoking functions from camera_web

according to the Flutter documentation, it is mentioned that camera_web plugin is similar to the camera plugin, but designed for web application, so I want to r

warning: [deprecation] <TResult>call(Executor,Callable<TResult>) in Tasks has been deprecated

I'm getting this error while I was running my app (though my app is running fine) : C:\Users\dassa\Downloads\flutter_windows_2.2.3-stable\flutter\.pub-cache\hos

Flutter iOS Build Error - framework image_picker not found

I have added v0.8.5 of image_picker library in my project. I have tried following things to solve the issue: Deleted podfile.lock & Pods folder from iOS Dir

How to prevent back button from dismissing the keyboard in flutter?

I want to set the keyboard to be always opened in the chat page and should not be dismissable by the back button. The WillPopScope() widget is only preventing t

In Flutter on Android: how to save non-image file so the user can instantly see it in other apps?

How can I save a file (txt/pdf/doc etc.) in my Flutter app on Android device in such a way that it will be accessible or "visible to the user" from any other ap

I want to export my whole code base like a package or something like a module that I can import

I created an app for a small group of people. I created a lot of widgets/pages and models. Now another group asked if I could make them the app too. I could cre

LateInitializationError: Field '_children@51042623' has not been initialized

[![LateInitializationError: Field '_children@51042623' has not been initialized][1]] I'm having this problem when i add items to a List from page 2 to page 1 [1

how to hit and get data after getting value from dropdownbutton in flutter

I need to know how to hit API after selecting a value from dropdownButton and how to use that response in text in flutter. Here I can able to hit api and got re

type '(List<Animal>) => void' is not a subtype of type '((List<Animal?>) => void)?'

type 'List<Object?>' is not a subtype of type 'List<Animal?>' of 'function result' giving me errors on saving selected values value is shown in debu