Category "flutter"

First file created with Flutter leads to white screen

I got Flutter installed. No problems with flutter doctor. Installed Dart en Flutter in Android Studio, opened a new Flutter project and chose for Flutter (and f

Changing AudioHandler.mediaItem without a Queue

I am working on my first Flutter app which implements basic stream functionality. Upon starting, the app loads a stream from source A. The app contains navigati

How to overwrite color of ElevatedButton with LinearGradient?

I am trying to do ElevatedButton with LinearGradient, I am giving it to Container around my button, but it's not affecting it. I tried to set backgroundColor of

How to use jitsi_meet package in production?

I am using jitsi_meet package in flutter for live streaming. But I have read that, you can't directly upload the jitsi_meet apk to the play store. You have to c

Select center item of ListView Flutter

I need to implement a scrollable list, so that the element in the center is automatically highlighted. How to keep track of the central element and constantly h

How can I test that Flutter BlocListener navigates and renders an initial Welcome page

I am trying to test that a WelcomePage widget is found when my App is first run and no authentication has yet happened. No matter what I try, I cannot verify th

Firebase Read Data Issue (Bad state: Snapshot has neither data nor error)

Showing this problem every time suddenly, There was no issue at first. AVD can run app but in physical device its not even running Column( children: [

Flutter 3 null safety Warnings and Errors [duplicate]

I just upgraded my flutter to the latest version, (3.0.0) and My projects keeps giving me these warnings and Errors: ../../../../flutter/.pub-

How to save pdf file in flutter?

I have a pdf file. I want to write that file in phone memory? Below is the code. First I am scanning then I am converting the image to pdf, Now I want to save t

How to set up navigation to a specific page base on FirebaseAuth State?

I want to create an authorization check to display different screens depending on whether the user is logged in. When the user is logged in, then HomeScreen ()

Dart 2.17 has warning when using code snipplet

I just update dart sdk to 2.17 and when I use snipplet (in VScode) to auto generate code for Stateless/Stateful it auto import these two package. But it tel

flutter TextField with auto textDirection

I want to use TextField in the Flutter to enter two languages (one of them is RTL and the other is LTR) so that one language is entered in each line. How can th

No result from hyperpay after integration

I'm trying to integrate with HyperPay for payment . I'm using there demo for test . This is the demo demoUrl And I got this response payment_statusData: {resul

Can't find main.dart as entrypoint, how to connect Android project to the main.dart file?

Please don't mark as a duplicate. I have tried to read this Flutter : Target file "lib/main.dart" not found but I have found no answer, because what I ask will

Show nested JSON from API in single Page with multiple lists

Im new in Flutter and i'm struggeling with a nested JSON from API which data i want to show in one single page. I get this JSON from a URL and decode it in a cl

Is there a material TimerPicker widget in Flutter? [closed]

I want to implement a time picker widget to allow users to record duration (hours and minutes) and I also want to show differently depending o

Flutter project debug is stopping in my Redmi note 9 phone

Launching lib\main.dart on M2003J15SC in debug mode... lib\main.dart:1 Plugin project :firebase_core_web not found. Please update settings.gradle. Invalid depf

Flutter unable to build app for android 12

I am trying to build my Flutter App to support Android 12. It works fine up to Android 11, but is not supporting Android 12. I trying to add android:exported="t

Flutter: CMake Error at flutter/CMakeLists.txt:75 (add_custom_command): This character is not allowed

I created a flutter project recently but when I try to run it shows me the error below, how to solve it? Thanks in advance! **CMake Error at flutter/CMakeLists.

Continuously Retrieving data from stream builder

I am trying to implement stream builder with cloud firestore to retrieve field data. Here is the code: @override Widget build(BuildContext context) { retu