Note writing code like this, code that wakes up and updates itself based on newly arriving data has a term: reactive programming. reactive programming happens when we make our app aware of its external influences and tell it to react somehow. You may have heard of reactive extensions like rxJava, rxJS, and rx.net which are libraries with classes and functions made for this style. well, there is one for flutter unsurprisingly called rxDart. You can find it at https://github.com/ReactiveX/rxdart.
đang được dịch, vui lòng đợi..
