Category "dart"

Class X is implemented in both places One of the two will be used Which one is undefined M1

I use Mac M1 and After I upgrade Xcode 13.3.1 , I got this error when I make a build for the project: Class AppleTypeCRetimerRestoreInfoHelper is implemented in

Getting error while running command "flutter build --release"

The android studio builds the apk perfectly with the following command : "flutter build apk" but is throwing error when I try to run "flutter build apk --releas

The body might complete normally, causing 'null' to be returned, but the return type, 'State<StatefulWidget>', is a potentially non-nullable type

I'm new in flutter. I tried to build a webview that have a token. I have used statefull widget but I am facing this error The body might complete normally, caus

type 'List<dynamic>' is not a subtype of type 'List<Parking>'

I'm calling an API but I've been trying to parse this JSON response correctly but I haven't been able to resolve this issue. I call the API, and want to display

Flutter/Dart: How upload binary file to Dropbox?

I'm trying to upload a binary file to Dropbox using https://github.com/dart-lang/http. Following https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload

Is it possible to pick out an item from a list of widget's based on the widget's value in dart / flutter?

I have a list of PopupMenuItem<T> as part of showMenu and I need to access the key for any given item when its clicked. When you click on an item, the sh

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