SelectFilteredProvider<N extends StateNotifier<S>, S, R> class

Inheritance
Implemented types

Constructors

SelectFilteredProvider({required N notifier, required SelectCallback<S, R> callback, required bool listenWhenTheCallbackReturnsTrue})

Properties

callback SelectCallback<S, R>
callback defined when a filter is used
final
hashCode int
The hash code for this object.
no setterinherited
listener ↔ void Function(S)
getter/setter pairinherited
listenWhenTheCallbackReturnsTrue bool
if the filter is a selected and we only want to rebuild the consumer when the callback returns true
final
notifier → N
finalinherited
reaction ↔ (void Function(N notifier)?)
function to rebuild the Consumer
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectValue ↔ R
used to store the value returned by .select or .when
getter/setter pair

Methods

createListener() → void
override
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