onChanged property
An optional callback function that is triggered when the text field's content changes.
This function provides the new text value as a parameter and can be used to handle text input dynamically.
Implementation
Function(String)? onChanged;