Category "dart"

No `Podfile' found in the project directory

I'm trying to run pod install command in android studio but terminal outputs the following error : [!] No Podfile' found in the project directory.

Getting XMLHttpRequest error while fetching data from website in Flutter

So I got this "XMLHttpRequest" error and I've been trying to fix it for hours without any results. Here is my code: var response = await http.get(Uri.https('sig

json_serializable enhanced enums not working. This requires the 'enhanced-enums' language feature to be enabled

I'm using the latest version of all these packages. dependencies json_annotation: ^4.5.0 dev_dependencies: json_serializable: ^6.2.0 build_runner: ^2.1.1

A problem was found with the configuration of task ':app:processDebugManifest' in first project

[I just Installed Everything for flutter...and run the first default app...but this problem is showing] Like picture below: FAILURE: Build failed with an except

How to implement twitter login without firebase in flutter?

I want to implement twitter login in my app without firebase but I found most tutorials used firebase. I read docs of package twitter_login but could not implem

How to display cards on a board (for a card game)?

I'm implementing a phone app for playing UNO using flutter (and dart), and I'm stuck with how I should display the cards on the board. This is what I would like

dart show documentation from another method in another file

Is it possible to show the documentation of a function in the documentation of another function residing in a different file? Macros are only valid in their own

Can't manage to fetch data from a second JSON file

I'm trying to use a fetched data from a JSON file to make another fetch on a second screen. Let's say I have a JSON file that was fetched via www.fruits.com/dat

Exception in thread "main" java.util.zip.ZipException: error in opening zip file When testing the application

In Android Studio the application was running on Real device, it was exported in ABK format .. But after a while, this error appears I read about gradle but did

Difference between Thread, Isolate and Process in Dart

What's the difference between Thread, Isolate and a Process in Dart? As far as I know Dart is a single-threaded language, but it can spawn many isolates which d

Create flutter chart with json api data

I'm creating a flutter app to receive data from the Yahoo finance API and show this data in a chart widget. This is my detail page, getting the "Symbol"-Informa

Flutter pod install error when i add package firebase_core

I added my Firebase project for ios and android. I did not have a problem in Anroid, but when I run it on IOS, pod install gives an error. The error description

Flutter method channel error. { Unhandled Exception: MissingPluginException(No implementation found for method getBatteryLevel on channel battery) }

so i followed everthing from 'https://flutter.dev/docs/development/platform-integration/platform-channels?tab=android-channel-java-tab' but when I click the flo

Deleting a folder from Firebase Cloud Storage in Flutter

I have a Flutter mobile app in which I am trying to delete a folder (and its contents) from Firebase Cloud Storage. My method is as follows: deleteFromFirebaseS

What is the use of BlocSelector in flutter_bloc

There is no example found for the usage of BlocSelector. Anyone knows the real usage of it?

GetX middleware runs before binding?

Here is my Auth middleware: import 'package:donirajkrv/controllers/user_controller.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart';

Calling dispose function in stateless widget using provider

I maintain a state of a counter(let say) in a separate Singelton class I am using provider in my app and I want to reset that state when I pop the current scree

How can I decode a string from base64 to binary to decrypt it with RSA in flutter?

I have an encrypted string with RSA that I have encoded in base64 to put it in a QR-code: echo "thesearesecretlogininfos"|openssl rsautl -encrypt -pubin -inkey

After a Flutter upgrade, I am getting the error "Could not resolve all files for configuration ':app:debugRuntimeClasspath'"

When I upgraded Flutter from Flutter 2.10.2 to a newer version, I got this error on every Flutter project I had created. Even when I created the new Flutter pro

PHP array_diff() equivalent in Dart? (Comparing two maps and return a map of difference)

I simply want to produce the same effect that PHP's array_diff() function does in Dart, and for those who don't know PHP or this function, my apologies but unfo