From 96491b0e9a3ac1ec74ff193ebdeb281918572457 Mon Sep 17 00:00:00 2001 From: clragon Date: Thu, 11 Jan 2024 21:57:12 +0100 Subject: [PATCH] docs: suggestions callback --- lib/src/common/search/suggestions_search.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/common/search/suggestions_search.dart b/lib/src/common/search/suggestions_search.dart index 3dd42c57..bde3a066 100644 --- a/lib/src/common/search/suggestions_search.dart +++ b/lib/src/common/search/suggestions_search.dart @@ -37,6 +37,8 @@ class SuggestionsSearch extends StatefulWidget { /// } /// ``` /// + /// If this returns null, the suggestions box will be invisible. + /// /// See also: /// * [debounceDuration], which is the duration to wait for changes in the text field before updating suggestions. /// {@endtemplate}