improve search box
This commit is contained in:
1 parent
a57c4b7a21
commit
407daad06d
3 files changed
+7
-81
No files matched your search
+4
-1
@@ -127,13 +127,16 @@ class SearchField extends HookConsumerWidget {
|
||||
controller: textEditingController,
|
||||
suggestion: suggestion.value,
|
||||
acceptSuggestionOnSubmit: acceptSuggestionOnSubmit,
|
||||
enableSuggestions: false,
|
||||
autocorrect: false,
|
||||
enableIMEPersonalizedLearning: !incognitoEnabled,
|
||||
focusNode: safeFocusNode,
|
||||
maxLines: maxLines,
|
||||
textFieldKey: textFieldKey,
|
||||
keyboardType: TextInputType.webSearch,
|
||||
textInputAction: (maxLines == null || maxLines! > 1)
|
||||
? TextInputAction.done
|
||||
: TextInputAction.search,
|
||||
: TextInputAction.send,
|
||||
minLines: minLines,
|
||||
autofocus: autofocus,
|
||||
onSuggestionDismiss: () {
|
||||
|
||||
Reference in new issue
Block a user