controllerRebuilder property
A builder that recreates a controller from an old controller,
if not specified, the controllerBuilder
builder will be used.
Useful when using the TextEditingController.fromValue constructor to keep the caret position.
controllerRebuilder: (oldController) => TextEditingController.fromValue(oldController.value),
Used to create a field on the fly in the widget tree.
For a widget inheriting from EasyCustomFormField
, override
the recreateController
method instead of using this builder.
Implementation
final RecreateControllerCallback<C>? controllerRebuilder;