Category "flutter"

Nested Json Serialise with Custom Class

I have a JSON data from the server from which I want to add specific JSON data to another class but maintaining its instance in the parent class Json data from

Kurdish is currently available in Google Translate, but has not yet been added to the flutter_localization

Kurdish is currently available in Google Translate , but has not yet been added to the flutter_localization package! How can I add Kurdish language ? Because we

TypeError when converting firebase data snapshot to map

I am currently following a Flutter tutorial and the instruction states that I retrieve data from Firestore and convert to a map, the tutorial uses the code belo

Search value in list

I want to search value in list: String search = 'blue Table15'; List list = [ {"Label": "blue Table 15", "V

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

Rename image that has been picked by imagepicker for flutter

I would like to rename the file that i already pick from my gallery by image picker, i already try the below method using renameAsync String dir = path.dirname(

how to change prettier format for react native

my code formatting prettier didn't works well for react native, i don't understand where to config it but it works well with flutter from this code import

Pressing Scaffold's back button:Looking up a deactivated widget's ancestor is unsafe

I get the following error when I hit scaffold's back button: The following assertion was thrown while finalizing the widget tree: Looking up a deactivated widge

Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'HomeBloc'

so i do get this error : Unhandled Exception: Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'Ho

'Size' is imported from both 'dart:ffi' and 'dart:ui' Flutter 3

After upgrading my flutter from 2.10.5 to 3.0.0, I have those errors on my android studio and the project don't build anymore on windows 10. How can I solve thi

Can't click on stack trace links in Android Studio anymore

After a recent update for Flutter I found that in Android Studio the package links in stack traces are no longer clickable. This is not the case with Visual Stu

How to Get Subcollection docs in Firestore Collection Group Query Flutter

I have a collection and Subcollection, I want to get the data of subcollection along with main collection data. I am using collectionGroup query, but don't know

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