removeListener method

  1. @override
void removeListener(
  1. VoidCallback listener
)
override

Remove a previously registered closure from the list of closures that the object notifies.

Implementation

@override
void removeListener(VoidCallback listener) {
  if (!_isDisposed) {
    super.removeListener(listener);
  } else {
    // todo: Log warning!
  }
}