WidgetBindingObserverDisposable class

Disposable implementation for WidgetsBinding

Constructors

WidgetBindingObserverDisposable(WidgetsBinding widgetsBinding, WidgetsBindingObserver observer)
Default constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
is dispose was already called
getter/setter pairinherited
observer WidgetsBindingObserver
see WidgetsBinding addObserver details
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widgetsBinding WidgetsBinding
WidgetsBinding to dispose
final

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