Category "flutter"

getting data from a list flutter

i want to get data from a list its working with the first 6 attributes but i wanted to add the "description", "assetsideid", "assetnum", "location" and "descri

How to group firebase data in flutter with DateTime?

I am making a chat application in flutter using firebase. I want to show a header with the date whenever the date changes. How can I group messages in flutter c

Can you make complete apps using Flutter & Dart or just the UI part of an app?

I'm confused about what Flutter framework actually does, I know that it uses Dart and have heard that both of them can be used to create cross-platform apps. Bu

Is it okay to use an onPressed function in a ChangeNotifier child class

I am using provider for state management, and I've given onTap a value in a function in the ChangeNotifier child class but my app is unresponsive, I mean, when

Flutter web: Opening direct URL navigation working on local but not after deployment

I am trying to implement Flutter web url navigation in my application. When I am trying to open http://localhost:7357/privacy-policy directly it is opening fine

Flutter - How to change color of marker based on magnitude of an int?

I want to create markers at each GPS point with a color on a scale from white to red that corresponds to how slow or fast the GPS data indicates the speed is at

How to decode Flutter iso8601 DateTime to Go Api RFC3339 pgtype.Date and pgtype.Timestamptz

In my Go API I'm trying to use json decode to parse the following json. {"contract_id":0,"date_established":"2022-04-03T00:00:00.000","expiry_date":null,"extens

How to send Images through Multipart in Flutter

I want to send three images to my server. I have tried following. There are no errors, no exception but I can't send pictures to the server. Can you help me whe

why my streamBuilder get stuck in the active Connection State even though i got all the data in my App?

Im getting data in my Flutter Web App from my Firebase Collection but my stream builder connection state stuck in the active state and not proceeding to the don

How to navigate to next ListView item in flutter

I want to navigate to the next item on a Listview. I tried implementing the solution in this post but it doesn't work for me. I created a function nextLesson()

Flutter: The getter 'answers' isn't defined for the class 'List<Map<String, Object>>'

I am trying to access 'second' from the below: final basic_answers = const [ { 'questionText': 'Q1. Who created Flutter?', 'answers': [ {'first': 'Faceb

Flutter objectbox initialization

How can i initialize properly the instance of my DatabaseProvider? I'm struggling with it. I found solutions but everyone of them initialize objectbox in the wi

Flutter how to update ui when user change size of web application window

I create flutter web application to increase knowledge about adaptive ui, and i stuck with a big problem for me. When i move my application window to other scre

Is this possible to send FCM push Notification through backend server to flutter for scheduled the notification or this can be possible in flutter app

I am using firebase cloud messaging push notification service to send notifications in a flutter, but I want to send notifications. I am using FCM as a push not

Passing model object as an argument with Flutter GetX

I need a model object on two screens. I have 2 questions: Is passing a model object (from one screen to another) required if we are using GetX? If yes, how do

Placing dropdownbutton selections into a to-do list

I am very new to Flutter/Dart, so please forgive my ignorance and please explain everything to me like I am a five year old. I have a screen on my app where I w

How to play private domain Vimeo video in flutter app

I am trying to call this API using the Bearer authorization token to get video detail. but still, the video does not play. GET: https://api.vimeo.com/videos/{vi

Flutter - The non-nullable local variable 'newTaskTitle' must be assigned before it can be used

Hi so I have been getting this error - "The non-nullable local variable 'newTaskTitle' must be assigned before it can be used. (Documentation) Try giving it an

type 'Future<dynamic>' is not a subtype of type 'String' Invalid radix-10 number (at character 1) Instance of 'Future<dynamic>'

I am having a problem of reading a number from firebase. I have no problems writing the number to firebase but as soon as I close the app the numbers displayed

banner adMob show a black screen in android app

I have created a simple flutter app and its work perfectly, so recently I added to it a section to show google adMob (bottomNavigationBarm widget) I used google