SearchState<T> class

Constructors

SearchState({required AsyncSnapshot<List<T>> snapshot, AsyncSnapshot<List<T>>? previousSnapshot, Object? activeCallbackIdentity, String lastInput = ''})

Properties

activeCallbackIdentity Object?
An object that identifies the currently active callbacks. Used to avoid calling setState from stale callbacks, e.g. after disposal of this state, or after widget reconfiguration to a new Future.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastInput String
A value holder used to check if we have to call for future or not. If current provided value in the search method of SearchStateManager is same as lastInput. We've to ignore calling and waiting for it.
getter/setter pair
previousSnapshot AsyncSnapshot<List<T>>?
A async snapshot vlaue of List of T that is the previous state of snapshot.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot AsyncSnapshot<List<T>>
A async snapshot value of List of T, used as main matchers holder of the state.
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