Category "dart"

Finished with error: Gradle task assembleDebug failed with exit code 1

Launching lib\main.dart on HTC One M9PLUS in debug mode... Initializing gradle... Resolving dependencies... Gradle task 'assembleDebug'... registerResGenerating

How do deal with nested InkWell with Flutter?

Suppose you have a few nested InkResponse, if you tap on the inner one, all of the parent will actually trigger the splash effect even though they will loose in

Flutter error catch e.message not working

void createUser(String email, String password) async { try { await _auth .createUserWithEmailAndPassword(email: email, password: password)

How can you change the default ScrollPhysics in flutter?

I need to change the ScrollPhysics for almost every scrollable widget in an app to BouncingScrollPhysics(). I have tried to find a way to do this without adding

how to solve flutter CERTIFICATE_VERIFY_FAILED error while performing a POST request?

I am sending a post request in Dart. It is giving a response when I test it on API testing tools such as Postman. But when I run the app. It gives me the follow

ListView not displaying item with BLoC pattern

I'm a flutter beginner and I'm currently working on an app that let me take a photo and then update a ListView to display the photo with a little text descripti

Class '_JsonDocumentSnapshot' has no instance method 'call'. Receiver: Instance of '_JsonDocumentSnapshot' Tried calling: call()

I trying to retrieving the data in Firebase with StreamBuilder but it appear this error. Does anyone know how to solve this? Appreciate so much for the help. Th

Convert ieee754 half-precision bytes to double and vise versa in Flutter

I have a device that provides temperature data in ieee754 half-precision float format, i.e. [78, 100] = +25.5C. Now, Dart/Flutter doesn't support HP-Float conv

The argument type 'Object?' can't be assigned to the parameter type 'String' latest version

Hers is the part from code.dart: final List<Map< String,Object>> question = [ { 'questionText': 'what\'s your favorite\'s color?',

How do you add a label (title text) to a Checkbox in Flutter?

I am playing with Checkbox to see how it works, but I don't see a title option with it. Checkbox( title: Text("Checkbox label"), // The named parameter 'ti

Truecaller like alert dialog in dart

I am trying to implement a true caller like alert dialog in flutter. Since I am very new to flutter+dart, I was looking for any out of the box implementation. S

How to change uploader of flutter package

I have uploaded a package with an email and then I changed to another email. So in order to replace email I've added by using pub uploader add [email protected]. a

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that lin

flutter scrollIntoView

This method appears to be for testing, but I actually need to scroll a widget onto the screen after rebuilding the UI with more widgets. This exists in the GWT

Fix google map marker in center

In my flutter app. I am using google_maps_plugin . The link is https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter . I want to fix the m

Error: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

I am building a Flutter application and I have integrated Firebase, but I keep getting this error when I click on the login button. I have come across people wi

SOAP Request in Flutter/Dart

I need to make a SOAP request to a .NET Webservice (WSDL) with Flutter. This webservice has an basic auth (user, password) and some services with pre-defined e

How to exclude files from pub publish for Dart packages?

Is there any way to exclude certain files or directories from pub publish for dart packages? I am publishing a package that has so many screenshots. I want the

Dart, Can't call Generic's method

I am trying to create an abstract data model where i pass data and type a and then is return list, but when i can't call T.fromJson() method, note that passes t

How can I use a set state without stateful widget and I am using a search delegate in flutter/Dart?

what I want to do is that my search history can update it, I can´t delete a previous search with click on the delete icon but I want to use the set state