Open FidaMOhsin opened 3 years ago
Hi, I'm creating an app that is using MVVM Pattern. So I'm stuck at one thing. Basically I'm getting data with Obx() and Obx() return a widget. But I didn't want on widget. I just need call back where i will get data, loading value from controller.
Maybe you are talking about Workers? Please check the docs. Obx is a widget and isn't meant to return values that aren't Widgets.
Obx
Hi, I'm creating an app that is using MVVM Pattern. So I'm stuck at one thing. Basically I'm getting data with Obx() and Obx() return a widget. But I didn't want on widget. I just need call back where i will get data, loading value from controller.