onSubmitted property

void Function(String)? onSubmitted
final

The callback function to execute when the text is submitted.

Implementation

final void Function(String)? onSubmitted;