Category "flutter"

Avoid `print` calls in production code. (Documentation)

I started seeing this warning in all my print statements. print('Foo'); // Warning: Avoid `print` calls in production code.

flutter passing multiple data with getx

I want to Pass multiple data from one screen to another screen with Get package. Get.to(Second(), arguments: ["First data", "Second data"]);

Should you use "extends" or "with" keyword for ChangeNotifier? - Flutter

I have seen several examples of a model extending ChangeNotifier using both 'extends' and 'with' keywords. I am not sure what the difference is. class myModel

my flutter IOS project showing error "clang: error: no such file or directory: 'UserNotifications' Command Ld failed with a nonzero exit code"

Showing Recent Messages Ld /Users/shibi/Library/Developer/Xcode/DerivedData/Runner-abrxzfquusadvleimfabdvpysbkr/Build/Products/Debug-iphonesimulator/Runner.app/

I want to send a verification link to users email without using firebase authentication [Flutter]

A website is already made up and I have to make application of that website using flutter but the website is not using Firebase authentication and sending email

How to change the textStyle of Stepper in Flutter?

I have a Stepper and I am trying to change the color and textStyle inside the Step (yellow circle) widget (i.e: 1,2,3) from white to black. This is my code: The

This is a most likely a transient condition and may be corrected by retrying with a backoff

I'm using firebase in my project and i got some issues mentioned below - [cloud_firestore/unavailable] The service is currently unavailable. This is a most like

is there any way to store data in sqflite and when data connection is available upload the data to online mongodb server

Hey friends I want to know a way in which I can store the app data in offline mode and when the data connection is available then the app sync the data to my on

Flutter GS-128, CODE-128, EAN-128 barcode reader

Which the best library in Flutter to read UDIGI 2.0 medical device codes ? All libraries I use, like: 'package:flutter_barcode_scanner/flutter_barcode_scanner.d

I Can't get flutter camera plugin to work from a second screen

I have been trying to get the flutter camera plugin to work for almost a week now but I couldn't. Every time the camera is not initialized no matter what workar

Null safety migration error: package has unmigrated dependencies. But all my dependencies declare support for null-safety

Im trying to migrate dart null safety but I get the following error when I run dart migrate Bad state: Error: package has unmigrated dependencies. Before migra

How can I fix java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE?

On my flutter project, using fvm, I migrated the project from flutter 2.0.6 to flutter 2.5.2. After fixing all null safesty issues. I get the following error wh

Put information in a specific sub-categories, flutter, firebase

I would like to upload informations in my UID doc, but the information is stored in another subcategory. Future postDetailsToFirestore() async { FirebaseFi

Exception thrown in stream callback is not being passed to onError callback

I have some bluetooth connection code in my Flutter app. I have provided an onError callback to the stream.listen() method. The device.connect() call is throwin

Is there a way to auto-format flutter with vscode?

I was wondering if there is a library like Eslint for Flutter/Dart that will automatically insert semicolons and trailing commas when I save the file. FLutter V

What assert do in dart?

I just want to know what's the use of assert in a Dart. I was tried to figure it out by myself but I'm not able to do that. It would be great if someone explain

SHA1 SHA256 command

So I created an android app from the while running the "keytool" command from the "Authenticating your client" site for firebase on the project folder, I get th

Flutter ListView resetting to top of list

I'm working on an app that gets the user to take a list of measurements. I use ListView to display a list of measurements. When the the user clicks on a list it

current route name is null on Flutter

Always getting null when I try to find current page. How do I get current page? print('current page ${ModalRoute.of(context).settings.name}'); my end goal is,

error in implementing search feature in Listview builder

I'm trying to implement search functionality in the list view builder But I don't have an idea to implement it. this is model class class Contacts { String? i