Flutter Dev | Uzbekistan 🇺🇿
الذهاب إلى القناة على Telegram
Flutter bu - hozirgi kundagi eng yetuk kross platformali dasturlash vositasidir! Bu kanal Flutterning o'zbek zabon vakillari uchun. Blog avtori: © Muhammad Aziz (@mamasodikoff) 🥛 Ayron olib bering: tirikchilik.uz/cosmos - Web sayt: flutterdev.uz
إظهار المزيد384
المشتركون
-124 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
I am tired of vibe coded pub.dev packages...
To be honest: Even before AI, there were plenty of crappy VERY bad written packages in pub.dev.
I don't doubt that even vibed shit is better than some packages out there.
The rule is still the same:
1) Check dependencies. It uses nuclear dependencies to kill mosquitos? Bad package (example: cached_network_image)
2) Check interference: It forces you to change the way you work or the language work? Bad package (example: freezed)
3) Check dependencies again. It uses
intl? Run! This package (intl) is very complicate to use because Flutter Localization SDK asks for a very specific version of it and this WILL give you headache (nothing wrong with the package you are seeing nor intl, is just a complicated dependency).
4) Check the source code. Try to understand. Try to pick issues. Don't use packages blindly. This WILL bite in the ass later, 100% guarantee.
5) It tries to reinvent the wheel, part I? If you have package A that solves a problem with X likes, Y years in development, why you would use something else? For example, the package retry. It hasn't being updated in 2 years. It's a bad package? No. It is done. It solves the problem. There is no need to update a package just for the sake of updating it. (some deserve: i.e.: some are abandoned, some has issues in github that don't get attention, ok. But, still using retry as example, it have one issue in github and it is an enhancement issue (and it was discussed and final answered by a member, so, *it is a done package*). No need to rewrite it.
6) It tries to reinvent the wheel, part II? If you have a package that tries to solve a solved problem, guess what? The new package will suffer all the hell of bugs the original package did, but with less people, less experience, etc. An example: why in the hell would you change a SQLite database (trillions of deployments in real world, 26 years of maturity, etc. for something ONE person wrote in his free time, such as Isar, Hive, etc?). Those packages will have bugs, misconceptions, security flaws, etc. that other mature projects already solved. And the chance of them to be abandoned (like Isar and Hive are), it only makes the situation worse. Yes, of course, there are community versions of those packages. But can you guarantee the code is now safe? It shares the original author vision and knowledge? I'm all in for new ideas open sourced and with a healthy community. This is not that.
© From Redditor
@flutterdevuzRepost from Sardor og'a | AI bilan rivojlanamiz
Boshida man ham AIsiz kod yozaman deb o'zimcha katta gapirgandim o'zimga. Lekin undan foydalanmasdan ishlashni iloji yo'q bo'lib boryapti. Ya'ni ishlatishga majburdekmiz. Nega?
- bizdan tez ishni bajarishni so'rashyapti.
- yoningizdagi jamoadoshlar foydalanib nx tez ishlarni bajaryapti
- agar siz foydalanmay qilaman desangiz xuddiki ulardan kam ishlayotgan lekin ular bilan bir xil oylik olayotgandek tuyuladi
- ya'ni yoningizdagilardan ortda qolib ketmaslik uchun ham foydalanishim kerak deymiz
- faqat tezlik tezlik tezlik, miyamiz shu bilan to'lyapti.
Sifatchi?
Sifat ham yaxshi, masalan o'zingiz kod yozganingizda n vaqtda bajaradingiz
AI bilan 5x tez lekin sifati past
Sifat + AI bilan bo'lsa 2-3x tez.
Oddiy
Navigator.push ishlatilganda, joriy ekran ilova ochiq turgan paytda xotirada saqlanadi. Lekin agar ilova yopilib ketsa yoki qayta ishga tushsa, navigatsiya holati saqlanmaydi va foydalanuvchi bosh ekranga qaytadi.
Shu muammoni oldini olish uchun Flutter Navigator.restorablePush nomli restorable navigatsiya usulini taqdim etadi.
Bu usul:
- foydalanuvchi qayerda to‘xtaganini eslab qoladi
- ilova qayta ochilganda oldingi sahifani avtomatik tiklaydi
- foydalanuvchini qayta navigatsiya qilishdan saqlaydi
Qisqacha:
Navigator.push → faqat ilova ishlayotgan paytda
Navigator.restorablePush → ilova o‘chib, qayta ochilganda ham joyni saqlaydi
@flutterdevuz+1
Pulli maqolalarni tekinga o'qiydigan "iplos" hamjamiyat a'zosi edingizmi? (https://freedium.cfd/)
Sizga yangilik, mirror chiqarishgan: https://freedium-mirror.cfd/
Rahmat, shartmas.. Choychaqani mengamas, sayt so'raganda berarsiz)
@flutterdevuz
AppStorega skrinshot razmerini to'g'irlayman deb soatlar sarflab qo'yganmisiz?
Tezda skrinshot yuklavorish kerak bo'lgan applarga mos keladi:
https://app-poster-pro.lovable.app/ (Vibe Coding mahsuli)
Ancha "Customizable" varianti mana:
https://progressier.com/pwa-screenshots-generator
Undanam "mature" varianti mana:
https://screenshots.pro/
Biratola Macga ilovasi mana:
https://appstorescreenshotstudio.com/
#apple #screenshot
@flutterdevuz
https://rotato.app/
Nice tool.
Very nice tool.
Seriously!
__________________
Yaxshi nassa.
Juda yaxshi nassa.
Rostan!
@flutterdevuz
Repost from Azim Pulat
Dasturchi o’sishi uchun 3 yo’l:
Dasturchi:
1. Qilish shart bo’lmagan ishlar qilsin.
2. Ko’p o’ylanib vaqt yo’qotmasin, qurishni boshlasin.
3. Hozir qilish mumkin bo’lgan ishni keyinga qoldirmasin.
"Vaalaykum Assalom, ismim Marat, plastik karta yuboring, SMS boradi, aytvoring / uy olib izohlardan uyni yuborvoraman hujjatlarini" desam ham ishonadigan odamda shu...
Repost from Paiziev24
Компаниялар айрим холларда адашиб, чиройли гапиргани учун ақлли гапирувчиларни (smooth talker) ишга олиб қўйишади.
Улар жуда ишончли гапиради, ҳар бир муаммога мантиқий изоҳ топади, жамоада ёқимли таассурот қолдиради.
Лекин вақт ўтиб аниқ бўлади: натижа йўқ, фақат нега иш бўлмаётганига изоҳ бор.
Бизнесда эса энг муҳим кўрсаткич — delivery.
Гап эмас, бажарилган иш қадрланади.
@paiziev24
Repost from N/a
🤔 Luhn algoritmi (yoki Modulo 10) - bu kredit kartalari, IMEI va boshqa identifikatorlar kabi identifikatsiya raqamlarini tasdiqlash uchun oddiy checksum formulasi bo'lib, Hans Peter Luhn tomonidan qo'lda kiritish paytida tasodifiy xatolarni aniqlash uchun ishlab chiqilgan. Algoritm o'ngdan har bir ikkinchi raqamni ikki baravar oshirish, natijada olingan raqamlarni yig'ish va umumiy sonni 10 ga bo'linishini tekshirish orqali amalga oshiriladi.
bool luhnAlgorithm(String number) {
// might put some checking for string number
int sum = 0;
bool isEven = false;
for (int i = number.length - 1; i >= 0; i--) {
int digit = int.parse(number[i]);
if (isEven) {
digit *= 2;
if (digit > 9) {
// finding sum of 2 digit number
digit -= 9;
}
}
sum += digit;
isEven = !isEven;
}
return sum % 10 == 0;
}
p.s/ Men uchun yangilik bo'ldi 🙂Repost from Android Broadcast
🛒 Google Play ужесточает требования к энергопотреблению
С 1 марта 2026 года расход батареи в фоне станет одним из факторов ранжирования приложений в Google Play.
Если приложение заметно потребляет заряд и не получает исправлений, пользователи увидят специальную предупреждающую плашку. При отсутствии улучшений Google Play сможет исключить такое приложение из поиска — доступ останется только по прямой ссылке.
Для разработчиков в Google Play Console уже доступен новый инструмент анализа Wake Lock, который помогает выявлять проблемные участки и повышать энергоэффективность приложения.
Рекомендуется заранее проверить поведение приложения в фоне и устранить лишние пробуждения.
#Android #GooglePlay #Оптимизация
Ba'zan Flutter ilovada textlar ko'rinmay/renderlanmay qoladi.
Sizda ham bo'lganmi?
Asosan ekran o'chiq turganda RUN bersa shunday bo'ladi. Restart bilan tuzaladi.
(Easy Localizationdan deb tahmin qilyabman)
@flutterdevuz
