SuggestionsBoxConfiguration class
Constructors
- SuggestionsBoxConfiguration({AxisDirection direction = AxisDirection.down, bool autoFlipDirection = false, bool hideSuggestionsOnKeyboardHide = true, bool keepSuggestionsOnLoading = true, bool keepSuggestionsOnSuggestionSelected = false, SuggestionsBoxController? suggestionsBoxController, SuggestionsBoxDecoration suggestionsBoxDecoration = const SuggestionsBoxDecoration(), double suggestionsBoxVerticalOffset = 5.0})
-
const
Properties
- autoFlipDirection → bool
-
If set to true, in the case where the suggestions box has less than
_SuggestionsBoxController.minOverlaySpace to grow in the desired direction, the direction axis
will be temporarily flipped if there's more room available in the opposite
direction.
final
- direction → AxisDirection
-
Determine the
SuggestionBox
's direction.final - hashCode → int
-
The hash code for this object.
no setterinherited
- hideSuggestionsOnKeyboardHide → bool
-
If set to false, the suggestions box will stay opened after
the keyboard is closed.
final
- keepSuggestionsOnLoading → bool
-
If set to false, the suggestions box will show a circular
progress indicator when retrieving suggestions.
final
- keepSuggestionsOnSuggestionSelected → bool
-
If set to true, the suggestions box will remain opened even after
selecting a suggestion.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestionsBoxController → SuggestionsBoxController?
-
Used to control the
_SuggestionsBox
. Allows manual control to open, close, toggle, or resize the_SuggestionsBox
.final - suggestionsBoxDecoration → SuggestionsBoxDecoration
-
The decoration of the material sheet that contains the suggestions.
final
- suggestionsBoxVerticalOffset → double
-
How far below the text field should the suggestions box be
final
Methods
-
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