Category "dart"

Creating a list of objects from a nested JSON in Flutter

There's a URL address that I decoded to JSON, and there's a certain header (result) that I'm trying to convert to a list of objects (Book). When I print the con

Flutter Notification not showing pop up

Notifications I send with Firebase when the app is open, in the background, and closed work fine. But I want to pop up, like this: My codes; local_notificatio

Dart/Flutter: Http request raises XMLHttpRequest error

I am trying to make an RSS reader with flutter but the program raises the XMLHttpRequest error. In my test I used web (Chrome) as my target platform. I already

Dart: why is a list or map not equal to [] and {} respectively

void main() { var a = []; var b = []; print(a == []); print(a == b); var c = ['c']; print(c == ['c']); var d = 'd'; print(d == 'd'); } fa

Dart: why is a list or map not equal to [] and {} respectively

void main() { var a = []; var b = []; print(a == []); print(a == b); var c = ['c']; print(c == ['c']); var d = 'd'; print(d == 'd'); } fa

GetStream - Flutter - Connection already available for user

Error facing in Flutter GetStream SDK.. GetStream is chatting SDK in which I am using messaging feature. I am facing issue with creating connection with the use

Mimic ZeroMQ SUB-Socket (in a PUB/SUB system) with e.g. Socket/WebSocket in Flutter

Community, I want to use/subscribe a pub-socket on a server that implements ZeroMQ (https://zeromq.org/) My final product will be a flutter app. It must be runn

MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) while getting FCM in background

I'm working on a Flutter app in which I'm using the shared_preferences: ^2.0.13 package. Flutter version : 2.10.1 (latest) gradle version: 6.7 Android gradle

Showing the data coming to the IP printer on the Screen-ESC Parse

Project: Flutter/Dart or with Java - Python Decompiler I want to show the data coming to an IP Printer in the kitchen on the screen. I have developed an App wit

Cast Complex JSON Dart

the dart code below allows you to decode a json that comes from a backend inside resultValue, I have the response of the rest call with the json shown below, wh

How to change dropdown default text color, when it is disabled?

When the dropdown is disabled it has this default black text color, which I want to change. There is an option to change the icon color but no option for text c

Unable to install and run Android Emulator for VSCode without Installing Android Studio

I'm new to VScode and Flutter development. I'm attempting to install and run an android emulator in VScode without installing Android studio. The following is t

Using syncfusion charts, the chart is not displaying in the screen

Created a simple barchart but it will not display on the page. Here's my code import 'package:flutter/material.dart'; import 'bar_chart_sample1.dart'; class Ba

Flutter Ambient UI - What should be the optimised approach for production level responsive app in web, android and ios platform using single codebase?

I was trying out flutter platform to create a multipage website with android and ios responsiveness using single codebase for my flutter app. I've already tried

How to use tokenColorCustomizations VS Code text color changer in dart?

tokenColorCustomizations does not stick with dart, I can change JSON file but the color does not stick to it.

How to set container in stack in Flutter

I have created a simple app, and facing an issue. I just want the content a little bit over the bottom of the image. but can't set position to container. gets e

type 'bool' is not a subtype of type 'List<String>' in type cast - flutter/dart

I'm trying to set a list of string in the shared preferences but for unknown reason, it is throwing up the following error type 'bool' is not a subtype of type

The argument type 'Object?' can't be assigned to the parameter type 'List<Siswa>'

I have a two error for this Flutter apps. The argument type 'Object?' can't be assigned to the parameter type 'List'. The property 'length' can't be uncondit

Getting this flutter error when calling the nested list of data from firestore database. Getting null method call []("orientation")

I'm getting this null error when calling the firebase firestore database. It's working fine with my other data. Only getting error with this nested List of 'ori

How to retrieve large datasets from Firestore in chunks?

My app has around 50K objects. And I need to retrieve atleast 10000 objects to build charts for stats; I am not able to get more than 600 objects in a single ca