SherlockCompletionsBuilder class
Creates a list of widget in order to be displayed below the search input to show user completions on their search.
Constructors
-
SherlockCompletionsBuilder({required List<
String> completions, required Widget buildCompletion(String completion)}) -
completions
is the list of strings given by SherlockCompletion.input or in theSherlockSearchBar.suggestionsBuilder
field:
Properties
- buildCompletion → Widget Function(String completion)
-
final
-
completions
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → List< Widget> - Builds all the completions into widgets.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited