performTextInputAction method
Informs the EmbedTextInput to perform the text input action.
Implementation
@override
bool performTextInputAction() {
final action = _configuration?.inputAction;
final newLineActions = [
TextInputAction.none,
TextInputAction.newline,
TextInputAction.unspecified,
];
if (newLineActions.contains(action)) {
return false;
}
if (action != null) {
_client?.performAction(action);
return true;
}
return false;
}