TextFormField with bloc pattern is Subbmiting null TextFormField with bloc pattern is Subbmiting null dart dart

TextFormField with bloc pattern is Subbmiting null


Your code is pretty confusing, but as far as I can see you write to _formData['title'] in onSaved, yet you never call FormState.save().

Have you tried calling _formKey.currentState.save() in the onPressed of the save button?