Calling a removeListener manually

You are building an application in Flutter. In which of the given situations, are you likely to call a removeListener manually while doing so?

1. When you’re listening to an Action widget in a widget hierarchy

2. When you’re using an Action outside of a widget context

  1. Only 1
  2. Only 2
  3. Both 1,2
  4. None of these

Related Posts