onChanged property
Called on every keystroke as the user types in the search field.
Use this for live/incremental search filtering. For submit-only behaviour (e.g. triggering a network request on Enter) use onSubmitted.
Implementation
final ValueChanged<String>? onChanged;