Debasmita Sarkar (@The__Debo) header
Debasmita Sarkar (@The__Debo) profile picture

Expert Flutter Developer | GDE @Google | Speaker | Tech Savvy | Mobile App Developer | Artist

Pune, India
Joined January 2019
Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)Photo by Debasmita Sarkar (@The__Debo)
Dart's new upgrade tool said fpdart needed 0 changes to get past Dart 3.7. Then 10 of its test files didn't compile. 😅 Since 3.7 a parameter named _ binds nothing, and the tests were calling it. I tried dart migrate on six popular packages 👇 medium.com/p/a101fc2eda69
2
175
I put 24 phone photos in a Flutter grid and the app used 1.8 GB on my iPhone. Flutter's image cache said 96 MB. One parameter brought it down to 207 MB, but it's easy to get wrong. I measured all of it 👇 medium.com/p/3f53df2102d0
3
18
1,010
I typed a note in my Flutter app and folded the phone. The note was gone, and so was my scroll position. Flutter kept the state. My adaptive layout threw it away. Google Play wants this fixed by April 2027, and the fix is two widgets 👇 medium.com/p/c8e8b52baa2b
1
12
780
Upgrading to Flutter 3.50 took one minute. Getting the Android build working again took four Gradle errors in a row 😅 Every golden test went red too, and my old RTL workaround now puts the icons on the wrong side. Here's everything that broke 👇 medium.com/p/5a19fe560900
4
422
That font size bug got me too. My checkout screen had 27 overflows at large text sizes, and release builds don't log a thing. A widget test looping over font scales catches it.
App 上线前自己测了好几轮,结果有人换个小屏手机、把字体调大,按钮就被挤出屏幕,根本点不到。 mobile-agent-testers 让 20 个 AI 测试员,同时在 20 台不同的手机上试用我们的 App,不用写一行测试脚本。 每个测试员都是一个 Claude Code Agent,带着自己的 iOS 或安卓模拟器,跑在 GitHub Actions 上。 它们还会扮演不同的人,比如瑞典语加最大字号的 iPhone SE、字体放大到 200% 的 Pixel 7,像第一次打开的人一样点一遍,再写带截图的问题报告。 GitHub:github.com/pierridotite/mobi… 拿 10 万 Star 的 LocalSend 实测过一次,20 台设备、14 种语言,69 分钟跑完,挑出 46 个不同的问题,模型费用一共 4.62 美元。 其中一半以上的问题只在某一台手机上出现过,我觉得这正是人工轮流换机器最难测全的部分。Flutter、React Native、原生安卓和 iOS 这些常见写法都支持。
5
387
I set my phone to the biggest font and opened my Flutter checkout. The terms of sale now end with "By paying you accept the tern" 😅 The release build said nothing. No stripes, no log. Here's what broke and the fix 👇 medium.com/p/6291c2fa99ac
4
385
Flutter 3.50 broke my notification taps on Android 13, and nothing showed up in the logs 🤫 My app's own notification was supposed to open checkout. On Android 13 it opened the home screen instead. Android 16 was fine. What I found and the fix 👇 medium.com/p/57003df36128
1
4
43
2,841
I timed this on my Android phone! 10,000 native calls took about 1 second through a platform channel and 15 ms through the direct binding 🏎️ medium.com/p/61fe0ad71261
Say goodbye to platform channel boilerplate & call native code directly from Dart → goo.gle/4iBeepH Explore GDE @AbhishekDoshi26's guide to get: 🔗 Type-safe Java, Kotlin, & Objective-C bindings 🚀 Faster performance w/o platform thread hops 🧩 Less boilerplate w/ Pigeon preview support
2
5
814
UIScene in an inherited flutter app, the part that bites: your AppDelegate deep link handler doesn't crash. it just stops being called. move it to a SceneDelegate and call super. medium.com/p/6705d051d073
108
walked an inherited flutter ios app to UIScene before xcode 27: manifest only: crash at launch (nil window) implicit engine: app works, my AppDelegate deep link silently never fires SceneDelegate subclass: fixed steps + plugin audit script: medium.com/p/6705d051d073 @FlutterDev
1
157
the api key you pass with --dart-define is in your apk in plain text. obfuscation doesn't touch it. the fix is a server that holds the key and picks the model + max_tokens. where does yours live? medium.com/p/7d484901ef2c
93
flutter 3.50's --no-deprecated-js-interop: green build. a german browser got "Hello" 🙃 dart.library.html turns false, so easy_localization, hive and awesome_notifications quietly break. --wasm too @FlutterDev @dart_lang which package broke for you? medium.com/p/9123cc454b60
98
--dart-define doesn't hide your api key 🔑 release build, --obfuscate on, fake key: web: one grep on main.dart.js android: strings on the libapp binary plain text both times. fix: a 40-line dart proxy medium.com/p/7d484901ef2c where does your key live? @FlutterDev @dart_lang
20
1,393
100 phones hit the same 529. no jitter: they all retry in the same 100 ms, again and again full jitter: the worst 100 ms drops from 100 requests to 34 that's the whole case for random backoff. medium.com/p/57b1ea87e701
116
same native call, two ways, on my android phone: platform channel ~100 µs flutter 3.50 jnigen binding ~2 µs 10,000 calls: 1 s vs 15 ms 🏎️ and the direct one is sync @FlutterDev @dart_lang which channel do you call the most? medium.com/p/61fe0ad71261
4
4
49
1,878
migrated to material_ui, analyzer green, and my menu button vanished 🫥 the package was still on flutter/material.dart. 31 of the top 100 pub.dev packages still are. 4 traps + a script to find yours: medium.com/p/d04e2feab6c7 which of yours is stuck? @FlutterDev @dart_lang
1
5
1,068
cocoapods trunk goes read-only on 2 dec. before then: build your flutter ios app once and copy the "do not support swift package manager" list. that list is your migration ticket. mine was ml kit. which plugin is on yours? medium.com/p/5e80804f7a6c
1
1
190
your flutter web users may still be on last week's build 🙃 flutter 3.50 added --web-content-hash. same app, two deploys: plain build stayed stale, hashed build updated on reload @FlutterDev @dart_lang ever had to say "try a hard refresh"? medium.com/p/e97b7daea8f9
1
96
before you wrap every jsonDecode in an isolate, measure. 29kb: 0.3 ms on the main isolate, 0.8 ms in an isolate. slower. 2.9mb: 13.7 ms stall → 3.3 ms. that's where it pays. so gate it on size. what's your threshold? medium.com/p/1db99b9cbb47
1
107
flutter 3.50 favourites: blur behind a dialog with barrierBuilder, readable reduce motion, rounded corners for whole slivers, one command to material_ui (then pin it, "any" is not a version) which one are you trying first? @FlutterDev @dart_lang medium.com/@debasmitasarkar.…
1
2
238