If you know about the MVVM (Model-View-ViewModel) pattern, the BLoC is the replacement for ViewModel . The BLoC is responsible for managing the state for View, and the Model (or Repository) helps the BLoC to access data no matter local or remote.30 Haz 2019