PaginatedQueryOnceNotifier<T, R extends Query<T>> class
Properties
-
debugState
→ AsyncSnapshot<Iterable<QuerySnapshot<T>>>
-
A development-only way to access
state outside of StateNotifier.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasListeners
→ bool
-
If a listener has been added using
addListener and hasn't been removed yet.
no setterinherited
-
limit
→ int
-
finalinherited
-
maxSnapshots
→ int
-
finalinherited
-
mounted
→ bool
-
Whether
dispose was called or not.
no setterinherited
-
onError
↔ ErrorListener?
-
A callback for error reporting if one of the listeners added with
addListener throws.
getter/setter pairinherited
-
query
→ R
-
finalinherited
-
read
↔ Locator
-
A function that allows obtaining other objects.
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
↔ AsyncSnapshot<Iterable<QuerySnapshot<T>>>
-
The current "state" of this
StateNotifier.
getter/setter pairinherited
-
stream
→ Stream<AsyncSnapshot<Iterable<QuerySnapshot<T>>>>
-
A broadcast stream representation of a
StateNotifier.
no setterinherited
Methods
-
addListener(Listener<AsyncSnapshot<Iterable<QuerySnapshot<T>>>> listener, {bool fireImmediately = true})
→ RemoveListener
-
Subscribes to this object.
inherited
-
debugMockDependency<Dependency>(Dependency value)
→ void
-
Overrides
read to mock its behavior in development.
inherited
-
debugUpdate()
→ void
-
A test utility to test the behavior of your
initState/update method.
inherited
-
dispose()
→ void
-
Frees all the resources associated to this object.
inherited
-
initState()
→ void
-
A life-cycle that allows initializing the
StateNotifier based on values
coming from read.
inherited
-
nextPage()
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
previousPage()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Locator watch)
→ void
-
A life-cycle that allows listening to updates on another object.
inherited
-
updateShouldNotify(AsyncSnapshot<Iterable<QuerySnapshot<T>>> old, AsyncSnapshot<Iterable<QuerySnapshot<T>>> current)
→ bool
-
Whether to notify listeners or not when
state changes
inherited