onChanged property

dynamic Function(String)? onChanged
final

The function callback of the TextField onChanged. By default is null. This function is executed every time the text changes. So it can be execute a search every time the user types a letter or it can be used to update the search suggestions.

Implementation

final Function(String)? onChanged;