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