Currently, the 'standard' way of working with form fields that are text fields is to wrap Text(Form)Field with FieldBuilder that provides an instance of TextFieldCubit and to set onChanged param of widget to fieldCubit.getValueSetter() so that each time onChanged is called the value is set in the TextFieldCubit state. We should provide a better integration with TextEditingController.
- Changes in the
TextEditingController.value should be passed to field cubit state,
- Changes applied to the field cubit state (value), should be streamlined to text controller.
Related issue: #21
Currently, the 'standard' way of working with form fields that are text fields is to wrap
Text(Form)Fieldwith FieldBuilder that provides an instance ofTextFieldCubitand to setonChangedparam of widget tofieldCubit.getValueSetter()so that each timeonChangedis called the value is set in theTextFieldCubitstate. We should provide a better integration with TextEditingController.TextEditingController.valueshould be passed to field cubit state,Related issue: #21