ChangeNotifierListenerDisposable class

Disposable implementation for ChangeNotifier

Constructors

ChangeNotifierListenerDisposable(ChangeNotifier changeNotifier, VoidCallback listener)
Default constructor

Properties

changeNotifier ChangeNotifier
ChangeNotifier to dispose
final
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
is dispose was already called
getter/setter pairinherited
listener VoidCallback
see ChangeNotifier addListener details
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
free resources. Do nothing if isDisposed already true
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performDispose() Future<void>
actually dispose resources called in dispose() after isDisposed check
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited