title: Flutter GETX: How to remove Initialized Controller every time we navigate to other page/routes
body: <p>newbie here. How do I re-run onInit() every time I push back to my screen? onInit() runs only once but navigating back to a previous screen does not delete the controller which was initialized (<strong>FetchData</strong>) hmmm..</p>
  <p>I'm only using <strong>Get.back()</strong> every time I want to pop page, and
  <strong>Get.toNamed()</strong> every time I want to navigate on a named  route</p>
  <p>the only thing I want to happen is to delete the Initialized controller (<strong>FetchData</strong>) every time I pop the page
  but I have no Idea how to do it.</p>
  <p>my <strong>GetxController</strong></p>
  <pre><code>class FetchData extends GetxController {
      RxList items = [].obs;
      @override
      onInit() {
        fetchData();
        super.onInit();
      }
      
      Future&lt;void&gt; fetchData() async {
       var result = await http.get(&quot;api.url&quot;);
       items.value = result.body;
      }
  }
  </code></pre>
  <p>Thanks in advance!</p>