refreshForm method
void
refreshForm()
Refreshes the state of all FormCraftTextField widgets.
Calls the _refreshForm method for each FormCraftTextField widget, if available.
Implementation
void refreshForm() {
// Iterate through each field and call the private method to refresh its state
globalKeys.forEach((key, globalKey) {
globalKey.currentState?._refreshForm();
});
}