triggerSubmitted method
void
triggerSubmitted({
- dynamic submittedText,
Implementation
void triggerSubmitted({submittedText}) {
submittedText == null
? textSubmitted!(currentText!)
: textSubmitted!(submittedText);
if (clearOnSubmit!) {
clear();
}
}