skip to Main Content

Validation in Flutter

I want to know how to make a validation in flutter where IF a TextFormField is filled then when you hit "send" then it doesn't let you go to the next section until all other textformfields must be filled, BUT…

VIEW QUESTION

Flutter how to delete field from firebase array

I am trying to delete a field from my firebase array. I am using this code but it deletes then whole activity array. FirebaseFirestore.instance .collection( widget.user.user.uid) .doc(documentName) .update({ "activities": FieldValue.delete() Instead I want to delete a specific field from 'activities'…

VIEW QUESTION
Back To Top
Search