onSubmit property
Callback when the Searchfield is submitted by pressing the enter key on the keyboard This callback returns the text from the searchfield
Implementation
final Function(String)? onSubmit;
Callback when the Searchfield is submitted by pressing the enter key on the keyboard This callback returns the text from the searchfield
final Function(String)? onSubmit;