onSubmitted property

dynamic Function(String)? onSubmitted
final

Called when the user submits the search (e.g., by pressing enter).

Implementation

final Function(String)? onSubmitted;