Category "flutter"

filter data using list flutter firestore

I am creating a bookstore where customers who have their favorite books have a favBook list and the website displays the name and images of the book of all thei

Flutter null safety plugin_platform_interface

I have this error, Error: Cannot run with sound null safety, because the following dependencies don't support null safety: - package:plugin_platform_interface

Allowing null and asserting it's not - flutter framework

I came across this file https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/widget_span.dart and on line 98, I find this strange tha

What happens to old app data written in another language when you release a new version of the App written in Flutter?

So I have my app released which was written in another older framework (non flutter). I've since rewritten the app from scratch in Flutter. The app, while func

returning null value when flutter http get request(Instances of _<Future> dynamic)

i am trying to get a data from a flask rest api but it keeps returning null value when it converted toString() it displays "Instances of _ dynamic" getPass() as

Android Manifest error after creating a Flutter Application

Everytime i create a flutter application using Android Studio, i always have errors/red lines in the Android Manifest file. Any ideas why this keeps happening?

Camera crashes when Flutter App opened on Chrome on Mac

I have implemented code which will allow me to access the camera in my flutter application and it is working perfectly when the app is opened on android, but th

Flutter screen size without AppBar and BottomNavigationBar

I am trying to get the exact size of the screen without taking into account the AppBar and BottomNavigationBar Here is the code: double screenSize = MediaQuery.

Automatically upgrade a dart package

I have a package on github and it is been used in two of my projects, but every time I make a change to the package I have to run flutter pub upgrade on both pr

Firebase Realtime database filter by child list content

I have the following Firebase Realtime database products data { "-N1OHKTcbZ1h1kJQYSW-": { "images": [ "image1", "image11" ], "name": "

I am trying to run my flutter app and I am getting these errors?

here is the error message The current Dart SDK version is 2.13.4. Because test >=1.16.0-nullsafety <1.16.0-nullsafety.8 requires SDK version >=2.10.0-0

How to navigate to new page using flutter?

I want to click each navigation item and direct it to another activity. I actually want to show the list view of 'now playing movie'. When I click that drawer i

Flutter: Missing google_app_id. Firebase Analytics disabled

I want to send a notification from a device to another but when I sent it I got in the receiver device : D/FLTFireMsgReceiver( 8876): broadcast received for mes

How to set a text from parsed json variable in Flutter

I have a problem with parsed JSON in Flutter-Dart. Actually, there is no problem, but there is a method which I don't know. I'm getting data from a PHP server a

FirebaseOptions cannot be null when creating the default app in Flutter Web

I ran into the following error: Launching lib/main.dart on Chrome in debug mode... This app is linked to the debug service: ws://127.0.0.1:45119/uWRkb_0RvDE%3D/

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu

How to save audio as File in flutter and send it to a flask server?

I'm trying to send an audio file (.m4a) to a flask server in my flutter app. the audio file is recorded using FlutterSoundRecorder package and saved to path "au

Failed to package flutter xcode

I am trying to run my flutter project on my ios device, but I got an error in the xcode that says "Failed to package /Users/user/StudioProjects/project." Any so

Create Gradient on Top Right of the page in Flutter

Hy everyone, I need to know, how can I create gradient on top right of the page like this picture? I tried with this code, but it's still not working for me: S

flutter onesignal add problems "Expected to find project root in current working directory."

When I want to add onesignal to flutter, I get the following error. How can I solve it? PROBLEM PHOTO