🅵
Size: a a a
🅵
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) |
+----------------+
🅵
(I
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) |
+----------------+
🅵
ОС
🅵
🅵
КП
🅵
🅵
ИК
🅵
🅵
NK
DY
NK