Category "flutter"

Flutter fetched Japanese character from server decoded wrong

I am building a mobile app with Flutter. I need to fetch a json file from server which includes Japanese text. A part of the returned json is: { "id": "

How to catch SocketException using the http library?

This problem has already been pointed out by others (like here). Althought I may have understood the cause, I still haven't found a solution when using the high

How can I Store Document in chronological order in firebase with flutter

I am coding an appointment booking application I want to store my own created document in firestore database but in chronological order. So that I can see my la

How can I show a snackbar after navigator.pop(context) in Flutter?

We need close one screen and open a second screen. And show snackbar on the second screen from first screen. I tried to use Navigator.push, but this screen is a

Lint don't override field in flutter

I'm new in using Lint and I'm getting a blue underline on my UserModel variables with a message of Don't override fields and Annotate overridden members. I'm ha

Flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException

I am new in Flutter.I face a problem about [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException. This is my Debug Console: Launch

Suddenly can't fetch any data inside firebase firestore, after trying to use tutorial that contain firestore emulatore

i tried following some of youtube tutorial video and saw a firestore emulators connect. but after i connect the app. the screen that works properly suddenly don

How to make Tree Select Box with DropdownButton in flutter

I want to make a Select box with DropDownButton in Flutter. but I can not make a perfect algorithm for it. I hope to receive great help from Flutter experts. Th

How to insert firebase storage images inside firestore field

I have a problem in my flutter app , and the problem is in the storage of firebase . I have a collection with field called avatar(String). It's value comes from

Mongodb Node.js Express how should the learning ranking be and what do they do

1 - how should the learning ranking be (Mongo db,Node.js,Express) 2 - is it only available for the web or is it also available for mobile? 3 - What do they do

Flutter Hive save custom object with list of custom objects gone after restarting app

I am using the Hive- Package in my project to store some data locally. That has been working fine so far, but now I am facing an issue: I have a Custom-Class wh

The argument type 'Serializer<dynamic>' can't be assigned to the parameter type 'Serializer<SingleItemType>'

I am using built_value for serialisation, Initially the code had been working fine, however since I upgraded to null safety I have been getting this error The a

Flutter RawKeyboardListener listening twice?

What I am trying to achieve is when viewing this widget, the RawKeyboardListener starts listening straight away when the TextField is not selected/in focus. It

Multiple Dependent dropdown in flutter

I am trying to build multiple dependent dropdown on flutter. The second one depend on 1st one. here is the code to the dropdown I have implemented. Container(

How to add a name to a chart on flutter, x- and y-axis?

I have been working with the online gallery of Flutter charts (https://google.github.io/charts/flutter/gallery.html) but I'm struggling to add a title for x &am

how can i use more than one tflite flutter model?

i created one tflite model. i want to pass string to model and label according to user selection. for example, if your select model1 it will load model two, if

painting house using custom paint

I have an svg image with its path and i wanna create a listener and paint on a specific path which i have clicked or selected it. Color _fillColor = Colors.cyan

Flutter - How to make custom rounded shape tab indicator with fixed height?

I want to make an indicator with a rounded shape like the below image. I tried a lot for it but I can't make it a shape like a design. And also tell me how

How to specify a TimeZone when creating a DateTime object in Dart/Flutter?

Dart?flutter does not appear to allow a timezone (eg: "Australia/Sydney" or "America/Detroit") to be specified when creating a DateTime object. Either the local

Problem with Flutter fastlane with flavors

Has anyone used fastlane with flutter and two flavors? I have a flutter application with two schemes App_A and App_B. I am trying to configure fastlane for conf