Update packages/stream_chat_flutter/lib/src/autocomplete/stream_autocomplete.dart

This commit is contained in:
Sahil Kumar
2023-05-25 17:51:26 +05:30
committed by GitHub
parent e46be5d8ae
commit cd2e3004ca
@@ -508,12 +508,12 @@ class _StreamAutocompleteState extends State<StreamAutocomplete> {
final shouldShowOptions = _shouldShowOptions;
final optionViewBuilder = shouldShowOptions
? TextFieldTapRegion(
child: _currentTrigger!.optionsViewBuilder(
child: _currentTrigger!.optionsViewBuilder(
context,
_currentQuery!,
_messageEditingController,
),
)
)
: null;
return PortalTarget(