mobx list flutter code example
Example: flutter mobx observable list
final list = ObservableList<int>.of([1]);
autorun((_) {
print(list.first);
}) // prints 1
list[0] = 100; // autorun prints 100
final list = ObservableList<int>.of([1]);
autorun((_) {
print(list.first);
}) // prints 1
list[0] = 100; // autorun prints 100