Category "flutter"

How can we integrated ads in video player like YouTube in flutter?

I working with Flutter on my video streaming application. I want to implement ads in a video player. How can I implement it?

Dart: Object is giving output only once even when called multiple times

Hi I am trying to print value of 'a' property of x object but I only get output once. void main() { var x = Test("Boy"); x; x; x; x; x; x; } clas

Stop flutter build runner from rebuilding my plugin

I have the following file structure in my flutter project lib - router -- router.gr plugins - myplugin //is a dart package -- input_folder --- swagger.json -- l

Is it bad practice to store/translate static error strings in a form field model?

I'm building a Flutter app where I have a sign-up form that will throw an error if the user inputs an invalid email. I have the following model for the email fo

Flutter When i fetch data from api showing SocketException: Failed host lookup: (OS Error: No address associated with hostname, errno = 7)

eg: details about the questions ......................................................................................... When i fetch data from api showing Soc

Flutter: Unable to get Firebase social login email after successful login

I am using social login for my Flutter app for both iOS and Android platforms. After successful login I need to access the user's email from Firebase. I tried i

socketio.send() does not send data to client

I am trying to send data from server to flutter app using socketIO. Although I am able to connect and emit, the server is not able to send data to client side.

how to disable user to go back after successful login in flutter

I have this login function and it's working like charm , but the problem that the user can press the back button and return to the login screen and I want to di

How to animate an app bar between screens in Flutter?

I'd like to create the appbar effect shown in the Gif below, where the leading icon persists between screens and the title does similar. Solely using Navigator.

TensorFlowLite tensor with type UINT8 and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32)

I was creating a mobile app that can recognize images using flutter and I got this runtime error when testing the app. Caused by: java.lang.IllegalArgumentExcep

Transparent status and navigation bar in Flutter for both Android and IOS

I am making my first Flutter app and I have a question. I want to make the status bar and navigation bar transparent on both Android and IOS. This is what I hav

How can I navigate to next list item on a new page?

I have a list that I fetch from a provider file and display using ListView builder. The LIST page displays only the title of the item on the list and clicking o

Tried command 'pod install', this happened

I tried running pod install and this is what I received. [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are

How can I add whole object as parameter in flutter post request?

"UserDtls":{ "DisplayName": "Picker", "UserName": "Picker", "Password": "", "EncryptPassword": "", "UserId": 5, "Rol

Flutter 3.0.0 bugs

after upgrading to the latest version 3.0.0 then some various bugs appear in some of my projects that run well before qr_code_scanner:compileRelaseKotlin Dupl

Flutter: Shared Storage (Storage Access Framework API) Permission for files inside hidden sub-directory not working

How to achieve to listing all files (e.g. Media) inside hidden subdirectory i.e. folder name start with '.' e.g. "(.media)" after using SAF in Flutter/Dart? I h

(flutter): audio cache not playing a specific sound (.mp3) in android version > 9

I am using audioplayers 0.20.1 for playing sound on button press in my flutter app. For a specific sound, it is giving me some error only on android version >

Flutter http request not accepting headers but it works on postman

I am getting a really frustrating experience. Am making a post request to an api, works well on postman but refuses to work on flutter. Here is the error respo

Flutter Firestore StreamBuilder and ListView.builder() how to show index number

I have a collection called users from Firebase as users. I can list the users in this collection. but while listing, I want to print these users to the list wit

problem in importing images in flutter using image.asset()

I'm constantly getting this error saying: The following assertion was thrown resolving an image codec: Unable to load asset: ../images/mall.png Even though th