Flutter Heroes
📈 Telegram kanali Flutter Heroes analitikasi
Flutter Heroes (@flutterdev) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 21 959 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 6 053-o'rinni egallagan.
📊 Auditoriya ko‘rsatkichlari va dinamika
невідомо sanasidan buyon loyiha tez o‘sib, 21 959 obunachiga ega bo‘ldi.
14 Noyabr, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -219 ga, so‘nggi 24 soatda esa -8 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya o‘rtacha 6.45% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining N/A% ini tashkil etuvchi reaksiyalarni to‘playdi.
- Post qamrovi: Har bir post o‘rtacha 1 416 marta ko‘riladi; birinchi sutkada odatda 0 ta ko‘rish yig‘iladi.
- Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 1 ta reaksiya keladi.
- Tematik yo‘nalishlar: Kontent developer, firebase, widget, hemantpra389, engineer kabi asosiy mavzularga jamlangan.
📝 Tavsif va kontent siyosati
Kanal uchun tavsif kiritilmagan.
Yuqori yangilanish chastotasi (oxirgi ma’lumot 15 Noyabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.
yield state.copyWith( user: user, ); add(const MyBloc.privateEvent1()); }, privateEvent1: (event) async* { List<Post> posts = await loadPosts(); yield state.copyWith( posts: posts, ); if (something) { add(const MyBloc.privateEvent2()); } }, privateEvent2: (event) async* { List<Draft> drafts = await loadDrafts(); yield state.copyWith( drafts: drafts, ); }, ); ```This method seems to ensure that the code in each event is short and readable. It also more or less respect the single responsibility principle by allowing one API call per event.A drawback I find with this method is that the more private events and condition you have the more complex it becomes to keep in mind how the entire logic flow. I have to admit that I had to use drawio to have a visual representation of the logic flow.I haven't been able to found any significant performance issues even with 10+ consecutive private events.One event - One stateThis one is the simplest way to structure your bloc. An event is triggered, you fetch/load all the data you need for this event and then you yield them all.Here's a visual representation of how it works:Event Data loaded Data loaded Data loaded Yield stateHere a code example:```dart yield* event.map( publicEvent: (event) async* { User user = await loadUser(); List<Post> posts - await loadPosts(); List<Draft> drafts = <Draft>[]; if (something) { drafts = await loadDrafts(); } yield state.copyWith( user: user, posts: posts, drafts: drafts, ); }, ); ```This method has the merit of being direct. You have everything you need in one place and it's easy to have a visual representation of the logic flow.The problem I personally have with this method is having this much calls in one place. The more data you need to fetch/load and the more condition you have, the more bloated the code becomes.Overall I don't have a preference for either of these methods and I use them as I see fit but I would like to have a method that I can use all over my codebase for consistency reason.If you have your own way of structuring blocs please feel free to share, hopefully, we'll be able to find a "universal" structure.
December 02, 2020 at 12:02PM by SSebigo
https://ift.tt/3lzCs2B