Category "flutter"

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

Vertical and Horizontal scrolling at the same time in Flutter

I'm building a flutter app, it requires data to be displayed in a table format, I've done it with the help of DataTable widget, but when it was rendered, the co

Handle Notification Bidirectional Body Text in the Correct Way

I have a notification service that sends a notification to the client according to its language. The notification body language can be either Arabic or English.

how to parsing web socket response (JSON) in flutter

I have a task, I want to take the data through the web socket, and display them on the screen of the application. But I did not even find a normal example to do

How to test getters in a state class using bloc_test?

Say I have a state class class MyState extends Equatable { final bool isSaving; final String errorMsg; const MyState({ this.isSaving = false, thi

The argument type 'RxString' can't be assigned to the parameter type 'String'

I try to use the GetX framework in flutter for my project. but it shows the Error regarding RxString. whenever I try to use the Obx method to call the controlle

How to bypass field does not exist within the DocumentSnapshotPlatform

I'm receiving this error because some of my contents don't have ['ses'] in firestore. Half of the contents have this and the other half do not have it. How can

The key [GlobalObjectKey int#a1467] was used by multiple widgets

I have project that have very long sheet code on each page without Bloc or other code separation. I have this code, that must open dialog with location peeker i

flutter dynamic links open web page when app is not installed

So, I want to redirect user to my web app created in flutter with specific item id when user don't have mobile application installed Here is my code for create

How to add animation to navigation in flutter using Get package?

I want to change the default animation of page transition to fade transition when I go to a new route using get package, Currently I am using this command to na

Make child elements active

I have a code that can be used to filter cars by country of manufacture. The code is structured like this: I put the name of the country with a checkbox in the