getx oninit

  @override
  void onInit() { // called immediately after the widget is allocated memory
    // Your code goes here
    super.onInit();
  }
Zeeshan Iqbal