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 shouldShowOptions = _shouldShowOptions;
final optionViewBuilder = shouldShowOptions final optionViewBuilder = shouldShowOptions
? TextFieldTapRegion( ? TextFieldTapRegion(
child: _currentTrigger!.optionsViewBuilder( child: _currentTrigger!.optionsViewBuilder(
context, context,
_currentQuery!, _currentQuery!,
_messageEditingController, _messageEditingController,
), ),
) )
: null; : null;
return PortalTarget( return PortalTarget(