Flutter callback function could be scary idea for beginners. Here I explained everything in detail what you need create a callback function. Using callback function we can pass data between classes. As we pass data, we can trigger new rebuild of UI using new data. Callback functions get trigged when certain events happen. Here we…
Month: November 2021
Getx Worker
Workers should only be called using the onInit or onReady method (depending on the situation).You should never, under any circumstances, call a worker within a build method, in fact, according to official Flutter documentation, builder methods should only receive pure widgets. I have no problem inserting internal variables, but calling methods is definitely prohibitive. onInit…