onSubmitted property

dynamic Function(String)? onSubmitted
final

The function callback of the TextField onSubmitted. By default is null. This function can be used to search the text with the given value. This function is called when the user presses the enter key.

Implementation

final Function(String)? onSubmitted;