I need to open Menu after get data. But after I wait getData method, the List is empty, but if I click second time, the data is exist.
Help me please.
1) What's the better pattern ? Maybe I do this wrong.
2) Why I need to wrap parent and child widgets in Observed ? (If I wrap only parent, status in child updated only once).
I need to open Menu after get data. But after I wait getData method, the List is empty, but if I click second time, the data is exist. Help me please. 1) What's the better pattern ? Maybe I do this wrong. 2) Why I need to wrap parent and child widgets in Observed ? (If I wrap only parent, status in child updated only once).
Store:
child widget
parent widget
flutter_mobx: ^2.2.0+2