Value of firebase database updating to null when not not edited during update data
问题 I am having a data update screen where the user can update/edit data saved in database. I have multiple fields which the user can edit. The data is prefilled with the previous value saved in database. My edit screen is as follows @override Widget build(BuildContext context) { return Scaffold( drawer: newdrawer(), appBar: newappbar( title: 'Edit Task', ), body: SingleChildScrollView( child: ConstrainedBox( constraints: BoxConstraints(), child: Center( child: Column( // mainAxisAlignment: