Target<Notifier, Result> class

class to save a Notifier, the listener and the rebuild function

Constructors

Target(Notifier notifier)

Properties

callback Function
callback defined when a filter is used
getter/setter pair
filter Filter
filter type
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
listener ↔ void Function(dynamic)
listener to listen the changes in our Notifiers
getter/setter pair
listenWhenTheCallbackReturnsTrue bool
if the filter is a selected and we only want to rebuild the consumer when the callback returns true
getter/setter pair
notifier → Notifier
a SimpleNotifier or a StateNotifier
final
rebuild ↔ void Function()?
function to rebuild the Consumer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectValue ↔ Result
used to store the value returned by .select or .when
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