skip to Main Content

hoe to fix Gradle error in flutter project?

PS M:login_page_officialfirebase_signinlogin_signin> flutter run Launching libmain.dart on sdk gphone64 x86 64 in debug mode... e: C:/Users/ganes/.gradle/caches/transforms-3/8bcc045eb4873c7d7cfabaaf6dc61958/transformed/jetified-play-services-measurement-api-21.5.1-api.jar!/META-INF/java.com.google.android.gmscore.integ.client.measurement_api_measurement_api.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. FAILURE: Build failed…

VIEW QUESTION

I want to be able to filter a field where I can do a batch.update on flutter Firestore

final batch = FirebaseFirestore.instance.batch(); var nycRef = FirebaseFirestore.instance.collection("FoodOrders").doc(); // I want to specify a field here like where() // e.g var nycRef = FirebaseFirestore.instance.collection("FoodOrders").where("MyId",isEqualTo: myId); batch.update(nycRef, {"Paid": true}); batch.commit(); But I get an error saying The argument type 'Query<Map<String, dynamic>>'…

VIEW QUESTION

willpopscope is not working flutter when clicked on device backbutton

This is a widget I am returning on build: getBackgroundWidget() { return WillPopScope( onWillPop: _onBackPressed, child: Scaffold( key: scaffoldKey, backgroundColor: Colors.white, drawer: AppNavigationDrawer(onSelectMenuItem), appBar: AppBar( elevation: 0.5, shadowColor: Colors.grey, backgroundColor: Colors.white, titleSpacing: 0, leading: IconButton( onPressed: () { scaffoldKey.currentState!.openDrawer(); },…

VIEW QUESTION
Back To Top
Search