🅵
Size: a a a
🅵
NK
🅵
🅵
🅵
🅵
🅵
🅵
NK
🅵
NK
🅵
SL
BLoC design pattern
felangel.github.io/bloc
+----------------+
| Presentation |
| Layer |
| (UI) |
+--+----------+--+
| ^
Event | | States
Dispatch(<Event>) | | mapEventToState()
v |
+--+----------+--+
| |
| BLoC |
| |
+--+----------+--+
| ^
Async requests | | Async response
Reposytory.fetch() | | await -> yield <State>
v |
+--+----------+--+
| Business Logic |
| Layer |
| (Backend) |
+----------------+
RP
🅵
🅵
RP
🅵
🅵
RP