removeListener method
Remove a previously registered closure from the list of closures that the object notifies.
Implementation
@override
void removeListener(VoidCallback listener) {
_listeners.remove(listener);
if (_listeners.isEmpty) {
_indicatorNotifier?.removeListener(_onNotify);
}
}