Category "flutter"

Android camera permissions reduce availability on Playstore

I have an flutter app in playstore but rigth now i'm trying to update with new features, but some camera permissions/features are reducing the app availability

Range Error(index): invalid value: valid value range is empty

im trying to set initial value for 'title' but it keeps showing me the error: range error (index): invalid value: valid value range is empty class _ProductCreat

ListView doesn't separate objects from doc

I'm trying to create scrollable list of posts, but instead i got static non-scrollable bloc of strings, which is overflowing. Example: Oveflowing: @override

Check if item is not in a Firebase document

I have a field in my Firestore documents that happens to be an array of user IDs, this field is called "tempID", I want to run a query that return all documents

Is it possible to iterate a list with index values in the Widget tree?

I have a List which is a list of image URLs, which I will then use to construct a series of Image widgets as part of a gallery. The images will be aligned next

list_remove_unrelated_type - dart

I have a function like this: void function(List<int> listToRemove) { final List<int> list = [1, 2, 3, 4, 5]; list.remove(listToRemove); } and i

How to handle data for integration tests in Flutter with Firebase Realtime Database?

I am in the process of adding integration tests for my flutter app (Android & iOS). I am planning on having a sort of BDD test structure, with the Given par

is this the right way to implement a custom architecture in flutter app using riverpod?

I am creating an App using riverpod, hooks and freezed. My aim is to remove the entire logic out of the widget tree. This article by @ttlg inspired me. In my a

Flutter/Firebase: build page depending on database

I'm trying to build a simple card game app to play online with friends using Flutter and Firebase. The way it works (for now), is we have lobbies which players

Flutter File Picker package is not working at all

I followed this tutorial online: https://www.youtube.com/watch?v=LlO5jydXws0 For some reason when I press the button to open a file, it does not work or do anyt

Simple Flutter Slide Left Animation?

I want some nested UI widgets to slide into a Column, from left (off screen) to right (on screen). The Column has an Expanded with a "flex: 4" and a Container.

Dart/Flutter remove boilerplate parameters in named constructor to reduce code size

I have a class with multiple named constructors. All of them have a set of defined parameters and for now I have to rewrite them all over again when I add a new

transfer from Provider to Getx Error: 1 positional argument(s) expected, but 0 found

Im new to flutter and download a code which is using Provider, now I tried to transfer to use getxcontroller, here is original code with Provider: class Browser

(No implementation found for method _init on channel plugins.flutter.io/google_mobile_ads)

couldnt find anything wrong with it dependencies: google_mobile_ads: ^1.1.0 Error: MissingPluginException(No implementation found for method MobileAds#initia

Dart snapshot generator failed with exit code -9

Debugging mode working well but when I tried to run it as release mode or building apk it's not working. Tried all things that I could but it's not working (Cre

"ChromeProxyService: Failed to evaluate expression" error

I get this error when I want to start my project with chrome device via flutter. The error is as follows; And vs code redirects to this line ; Because of thes

flutter - Waiting for getLinksSteam before continue oauth2

My problem is that my app won't wait for getLinksStream to be ready. In my case i want to login with OAuth2 and i need the code=xxxxxxxxxx responses after loggi

Flutter issue on save PDF file to android file manager app

Hello I am facing issue on save PDF file at android file manager app. Works good in iOS. Android error log : [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhan

Visual studio community necessary for flutter error how to resolve

If visual studio community is not necessary for flutter app development, and I dont have enough storage space for downloading it but i have vs code, android stu

FlutterError RenderCustomMultiChildLayoutBox object was given an infinite size during layout

when adding the bottom navigation bar my body section is removed and got this error ERROR:- FlutterError RenderCustomMultiChildLayoutBox object was given an i