Category "flutter"

Firebase phone authentication is not working on Android real device

I've been trying to achieve phone auth using Firebase authentication. It's working with an android emulator. I used a test number and a real number in the emula

Firebase Storage await uploadTask.onComplete outdated

Im using this code. The error message is the following: error: The getter 'onComplete' isn't defined for the type 'UploadTask'. (undefined_getter at [chatneu] l

How to set token in authorization header in flutter Dio post request

I want to set a token in the authorization header on my post request using Dio. I have tried to set the header using two options. And both don't work. The first

How to run CocoaPods on Apple Silicon (M1)

I have a Flutter project that I'm trying to run on iOS. It runs normally on my Intel-based Mac, but on my new Apple Silicon-based M1 Mac it fails to install pod

Is it possible to add the latest version of a dependency to pubspec.yaml without finding it myself?

Lets say I am starting a new dart project. I have a few packages on pub.dev I know that I want to use, and I want to use the most recent version of these packag

disable screen record with sound in flutter

I am trying to disable screen record and screenshot in my flutter app and I already did using flutter_windowmanager package. my problem is with screen recording

acc audio file does not work with on seek using just audio

I am building a music Flutter app with using just_audio plugin I have a list of acc audio files from server, but I noticed that onSeek method does not work corr

Flutter FirebaseAnimatedList Chat - Scroll to new messages

I am making a simple chat with Firebase and Flutter. I am using FirebaseAnimatedList but I have a problem. By default, the list is ordered from oldest message o

Flutter TextField with currency format

There's is some way to do a money format in a TextField to when the user going typing the value it going already formatting in real time? Like in the above i

how to resolve the iOS deployment target issue in flutter

I am facing this issue related to IPHONEOS_DEPLOYMENT_TARGET while build the flutter application for the ios platform repeatedly, I am not able to understand h

How to request and check permissions in Flutter

I am using a various plugin to get user data, contact, photos and camera when the user clicks Don't allow, The application goes silent. I want to show the user

flutter mapbox gl doesn't stop scrolling on iOS simulator when mouse button is released

I am working on a cross platform app using mapbox gl with flutter. It has been built for Android and works as expected there, and I am trying to get it working

Flutter images not loaded (EXCEPTION: resolving an image codec)

When I try to run images assets doesn't get properly loaded, I am getting an exception: The following assertion was thrown resolving an image codec: Unable

Flutter: Move to a new screen without providing navigate back to previous screen

I'm implementing an authentication flow in my Flutter app. After a sign in attempt, the CheckAuth (which checks whether a user is signed in or not and then ope

How to use InputFormatter on Flutter TextField?

What do I need to insert into TextField(inputFormatters:? I want to disallow \ and / in one TextField and only allow a to Z in another.

Create a rounded button / button with border-radius in Flutter

I'm currently developing an Android app in Flutter. How can I add a rounded button?

Page popup from bottom flutter [closed]

I have an app and i wanted to add page thad slides from the bottom up, ultill three quarters of the screen, just as shown in the picture here

pub get failed (1; Because note requires SDK version >=1.18.0-6.0.pre <2.0.0, version solving failed.)

i am trying to use flutter SVG the latest version, but i faced a problem with my SDK version. i changed it to what the error message said,But i still faces the

Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies

Current, I was trying to add firebase_core: ^0.5.0+1 and firebase_crashlytics: ^0.2.1+1 packages in my flutter project with the latest versions, It works withou

How to determine if flutter is running in simulator

Is there a call to determine if flutter is running within a simulator or a physical device? I am scanning QR codes, and want to bypass, since the camera is una