OverlayOptions<T> class
Pass this to the MultipleSearchSelection.overlay widget to customize the overlay behavior.
Constructors
-
OverlayOptions({bool closeOnItemSelected = true, bool canCreateItem = false, Offset? offset, CreateOptions<
T> ? createOptions})
Properties
- canCreateItem → bool
-
Whether you can create an item when there are no results.
final
- closeOnItemSelected → bool
-
Whether to close the overlay when an item is selected
final
- closeOverlay ↔ void Function()?
-
Programmatically close the overlay of the showed items.
getter/setter pair
-
createOptions
→ CreateOptions<
T> ? -
The options for creating an item.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset?
-
The offset of the overlay relative to the Searchfield.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showOverlay ↔ void Function()?
-
Programmatically show the overlay of the showed items.
getter/setter pair
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