title: Error: "Controller" not found. You need to call "Get.put(Controller())" or Get.lazyPut(()=>Controller())"
body: <p>I have next code.</p>
  <pre><code>main() {
    Get.put(NavigationBarController());
    Get.put(JobListController());
    //...
    runApp(MyApp());
  }
  </code></pre>
  <p>I do not use <code>bindings</code> because I do not use GetX routes/pages and use custom tabs-switching.</p>
  <p>My widget is next:</p>
  <pre><code>class Dashboard extends StatelessWidget {
    var jobCtrl = Get.find&lt;JobListController&gt;();
    
    @override
    Widget build(context) {
      return Container(
        margin: EdgeInsets.only(top: 20.0),
        child: Column(children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: [
              ElevatedButton(
                onPressed: () =&gt; jobCtrl.startNewConfigToJob(), child: Text(&quot;Run&quot;)),
  </code></pre>
  <p>But I am getting an error:</p>
  <pre><code>Error: &quot;JobListController&quot; not found. You need to call &quot;Get.put(JobListController())&quot; or &quot;Get.lazyPut(()=&gt;JobListController())&quot;
      at Object.throw_ [as throw] (http://localhost:56854/dart_sdk.js:5374:11)
  </code></pre>
  <p>Why I am getting this error? The Navigation bar Controller is also use Get.find and works fine:</p>
  <pre><code>class NavigationBarController extends GetxController {
  
    get to =&gt; Get.find&lt;NavigationBarController&gt;();
  
    var tabIndex = 0.obs;
  
    List&lt;Widget&gt; pages = [
        Dashboard(),
        TableStatisticSpeedView()
    ];
  
   Widget get currentPage =&gt; pages[tabIndex.value];
  
    void changeTabIndex(int index) {
      tabIndex.value = index;
    }
  
    @override
    void onInit() {
      super.onInit();
    }
  
    @override
    void dispose() {
      super.dispose();
    }
  }
  </code></pre>
  <p>Here is full source code: <a href="https://github.com/bubnenkoff/monitor_client/blob/main/lib/main.dart#L28" rel="nofollow noreferrer">https://github.com/bubnenkoff/monitor_client/blob/main/lib/main.dart#L28</a></p>