Category "flutter"

I have an array of items inside a list from firebase. I want to display those array elements inside my flutter app but I have failed

Inside of my firebase collection (which is a list elements) I have arrays as well. I am failing to display the elements inside the array in my flutter app. Here

Apple pay using Stripe shows error in flutter

Apple pay using stripe shows an error in flutter before it's working fine but currently shows an error. Payment intent generating working fine but when I do pay

Throw Exception in Flutter Test

I am following this tutorial for Clean Architecture in flutter This is my test file test( 'should return server failure when call to remote data is unsu

Currency is not updated when Flutter currency_text_input_formatter showModalBottomSheet is opened

I'm trying to make a TextFormField to enter money with the currency_text_input_formatter package. I put it in showModalBottomSheet. This is what happens when I

Flutter firebase authentication event handler and hot reloads

Following this blog post: https://blog.ishangavidusha.com/flutter-authentication-flow-with-go-router-and-provider I have implemented a flutter app using the go

What's the best way to communicate with nearby Android/iOS devices using Flutter

Let's imagine User A. I want to build an application that detects all users of my app who are currently close to user A (in terms of real-life proximity). They

Flutter IAP - Error you already own this item

I'm trying to implement Flutter InApp purchases on Consumables but I keep getting the following - error you already own this item when I try to buy again. I wan

Flutter Bloc & Cubit

I am following the tutorial here: https://resocoder.com/2020/08/04/flutter-bloc-cubit-tutorial/. When I reached the "Building with Cubit" part and in the main.d

This app is using a deprecated version of the Android embedding

I am getting the following error. This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures-, or future build failur

flutter_downloader In the release version, it crashes (on Android)

I use flutter_downloader (on Android) Everything is correct in debug and profile mode and works well, but in the release version, after hitting the download but

Flutter video_player plugin - Change ClosedCaptionFile after VideoPlayerController initialization

I am using video_player plugin in my Flutter app and when I want to add a caption file I have to specifice a Future to the initialize method of VideoPlayerContr

Flutter - Load Google Map Markers from Firestore

I am developing a Flutter app and one of the functions is a map with locations. I made a database with the locations in Firestore but I am unable to load the ma

Converting unit8list to video file with out creating it and its be on memory

I have downloaded the bytes of a movie and stored them in a database. I need a way to convert it back to a movie to give it to the video_player package to play.

Socket connection not workin in flutter release apk

I am new to working with sockets, and I am working on this project where a connection between my android flutter app and a java server is needed, to do this I a

How to make gradient button in Flutter

I am new to Flutter and I want to make like this gradient button in Flutter. you can also give tutorials to make this type of button. I want that gradient on th

Flutter : Zooming canvas in certain places

I am trying to make something like a magnifying glass on a Custom Painter. So far I am able to use Backdropfilter with imagefilter matrix scaling like below: Ba

flutter - check if list contains value from another list

I have two lists, one with posted images and a second with friends. Only friends posts should be displayed from the posts list. In this case for Obi. class p

How to display local notification periodically with Flutter?

I want to launch notifications periodically if a condition is checked class notification definition FlutterLocalNotificationsPlugin notificationsPlugin = Fl

How to create a screenshot taking application using Flutter?

I am thinking of making a Screenshot application using Flutter. The features of the screenshot application will be: Creating a floating button, that can float/d

firebase_messaging returns Null check operator used on a null value after tapping the notification

I have posted an issue on flutterfire github and the response is not helping me at all. So I hope someone here will help me guide to fix the problem I'm facing.