Category "dart"

Offset argument contained a NaN value flutter fl chart line chart

my purpose is to get a data set to plot a line chart using fl chart package in flutter. But i am getting a exception called offset contain nan value.But the off

Flutter android app doesn't have internet connection

I built an flutter app. I used url_launcher package to navigate social links and other external browser links. And it was perfectly working on android emulator.

Parsing Nested JSON leads to fromJson methods having a "The class 'Data' doesn't have an unnamed constructor." error

So I am trying to parse a Nested JSON from a GET request from VirusTotal but when I create the methods to parse the JSON for what I am looking for it is giving

Trying to build a future context but my build method has an error

I have this code and the problem is that: 'ProfileView.build' ('Future<Widget> Function(BuildContext)') isn't a valid override of 'StatelessWidget.build'

Unable to show the Y axis value in bar tooltip by default using fl_chart package

I am working on bar chart view using fl_chart package and i able to show the bar chart but unable to show the Y-axis value in each bar by default the way i expe

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.