title: Safe usage for useScrollController? (Flutter Hooks)
body: <p>Would the following code be considered safe?</p>
  <pre><code>class SomeWidget extends HookWidget {
  
    @override
    Widget build(BuildContext context) {
      final controller = useScrollController();
      controller.addListener(_someCallback);
  
      return ...;
    }
  }
  </code></pre>
  <p>I'm specifically referring to the <code>addListener</code>. In <a href="https://resocoder.com/2020/01/21/flutter-hooks-hide-fab-animation-100-widget-code-reuse/" rel="nofollow noreferrer">this</a> ResoCoder hooks tutorial he adds the listener inside the <code>initHook</code> function of a custom hook.</p>
  <p>I know that ResoCoder wrote the custom hook to dispose of the scrollController...I'm more curious as to how the controller listener behaves (I have no idea what is allowed and not allowed for listeners). Any resources on where I can learn about them would be great.</p>
  <p>Thanks :)</p>