removeListener method

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

Implementation

@override
void removeListener(VoidCallback listener) {
  final listeners = Map.of(_listeners);
  listeners.values.forEach((e) {
    e.remove(listener);
  });
}