onSubmit property

void Function(String value)? onSubmit
final

Called when the user submits (enter). Receives the input text.

Implementation

final void Function(String value)? onSubmit;