Answers for "flutter mobx observable list"

0

flutter mobx observable list

final list = ObservableList<int>.of([1]);

autorun((_) {
  print(list.first);
}) // prints 1

list[0] = 100; // autorun prints 100
Posted by: Guest on July-09-2020

Browse Popular Code Answers by Language