addAutoDisposeListener method
void
addAutoDisposeListener(
- Listenable? listenable, [
- VoidCallback? listener,
- String? id
override
Add a listener to a Listenable object that is automatically removed on the object disposal or when cancel is called.
If listener is not provided, setState will be invoked.
Implementation
@override
void addAutoDisposeListener(
Listenable? listenable, [
VoidCallback? listener,
String? id,
]) {
_delegate.addAutoDisposeListener(listenable, listener ?? _refresh, id);
}