addAutoDisposeListener method

  1. @override
void addAutoDisposeListener(
  1. Listenable? listenable, [
  2. VoidCallback? listener,
  3. String? id
])
override

Add a listener to a Listenable object that is automatically removed when cancel is called.

Implementation

@override
void addAutoDisposeListener(
  Listenable? listenable, [
  VoidCallback? listener,
  String? id,
]) {
  _delegate.addAutoDisposeListener(listenable, listener, id);
}