When trying to show suggestions for text inputs using SuggestionProvider.suggestingStrings, the suggestions don't appear as expected. The provided code snippet illustrates this issue, where the suggestions for arguments aren't displayed correctly. However, switching to a different method, SuggestionProvider#suggestionsFuture, solves this problem, as shown in the subsequent code snippet.
Code Snippet (1):
When trying to show suggestions for text inputs using
SuggestionProvider.suggestingStrings
, the suggestions don't appear as expected. The provided code snippet illustrates this issue, where the suggestions for arguments aren't displayed correctly. However, switching to a different method,SuggestionProvider#suggestionsFuture
, solves this problem, as shown in the subsequent code snippet. Code Snippet (1):Result (1): Code Snippet (2):
Result (2):