SuggestionsController<T> class
- Inheritance
-
- Object
- ChangeNotifier
- SuggestionsController
Constructors
Properties
-
$refreshes
→ Stream<
void> -
no setter
-
$resizes
→ Stream<
void> -
no setter
- direction ↔ VerticalDirection
-
getter/setter pair
- effectiveDirection ↔ VerticalDirection
-
getter/setter pair
- error ↔ Object?
-
getter/setter pair
- focusState → SuggestionsFocusState
-
no setter
- gainFocus → bool
-
no setter
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isLoading ↔ bool
-
getter/setter pair
- isOpen → bool
-
no setter
- retainFocus → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selections
→ Stream<
T> -
no setter
-
suggestions
↔ List<
T> ? -
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
close(
{bool retainFocus = false}) → void -
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
focusBox(
) → void -
focusField(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
open(
{bool gainFocus = true}) → void -
refresh(
) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
resize(
) → void -
select(
T suggestion) → void -
toggle(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unfocus(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
maybeOf<
T> (BuildContext context) → SuggestionsController< T> ? -
of<
T> (BuildContext context) → SuggestionsController< T>