updateText method

void updateText(
  1. String fieldName,
  2. String? value
)

Updates a TextFieldState with a given value.

  • fieldName The name of the text field to update.
  • value The new value for the text field.

Implementation

void updateText(String fieldName, String? value) {
  update<TextFieldState, String?>(fieldName, value);
}