I’m currently developping an ERP application but I’m quite new to BLoC state management.
I have a customer model that have 40+ properties that can be edited by the user. I have a DetailCustomerBloc to manage my object.
I need to know what is the best way to manage the modification of my model with BLoC. Do I have to create 1 event per editable property ? Or there is an other way to take care of the state of the modified object ?
Do I have to create a form that encapsulate my widgets in my page and pass the key to all the textformfield ? Or can I use only textfield ? Today I only use a TextField with a TextEditingController inside a custom textfield that is used for all my properties.
Thanks for your help.