form_bloc
form_bloc copied to clipboard
How to get all fieldBlocs?
I want to get fields blocs to add errors dynamically specially when I got validation errors on backend
you can access them throw state:
state.fieldBlocs()?.forEach((name, filedBloc) {
filedBloc.addError("error");
});