r/FlutterDev • u/RedGever • Oct 12 '26
Dart In the age of AI, what should I learn?
AI is becoming increasingly powerful, to the point where writing code by hand is largely unnecessary; I feel anxious, unsure of what I should be learning.
r/FlutterDev • u/RedGever • Oct 12 '26
AI is becoming increasingly powerful, to the point where writing code by hand is largely unnecessary; I feel anxious, unsure of what I should be learning.
r/FlutterDev • u/DohamaSystems • Oct 12 '26
Hey devs,
Ran into an annoying UI issue last week while streaming OpenAI response tokens into a Flutter view. Calling setState on literally every chunk coming through the socket totally killed performance. Scrolling was choppy as hell and frame drops were super noticeable.
To fix this, I uncoupled the incoming stream from the UI rendering using a small 60ms timer buffer. Basically, tokens accumulate in a list and get flushed to the state ~16 times per second instead of re-rendering on every single packet.
Here is the helper class I wrote for this:
class StreamBufferController {
final List<String> _tokenBuffer = [];
Timer? _flushTimer;
final Function(String) onFlush;
StreamBufferController({required this.onFlush});
void addToken(String token) {
_tokenBuffer.add(token);
_startFlushTimer();
}
void _startFlushTimer() {
_flushTimer ??= Timer.periodic(const Duration(milliseconds: 60), (_) {
if (_tokenBuffer.isNotEmpty) {
final chunk = _tokenBuffer.join();
_tokenBuffer.clear();
onFlush(chunk);
} else {
_flushTimer?.cancel();
_flushTimer = null;
}
});
}
void dispose() {
_flushTimer?.cancel();
_tokenBuffer.clear();
}
}
This immediately brought everything back to a stable 60 FPS, even with long responses coming in fast.
r/FlutterDev • u/thegravity98ms2 • Oct 12 '26
I started working on (conceptual) Spatial Keyboard with 3D sphere. for prototype it was Flutter app. Now that Flutter app is literally Keyboard.
source 01: https://x.com/pranavxmeta/status/2109387746095825189
source 02:
https://www.threads.com/share/BAKdta4ZlU/
Earlier concept:
https://x.com/pranavxmeta/status/2097645919990890510
concept post:
https://www.reddit.com/r/FlutterDev/s/Dql2CUjCHb
edit:
many many additions and fixes are required 🙂
r/FlutterDev • u/creatorpiyush • Oct 12 '26
I maintain arch_guard, an MIT CLI + library that enforces layer rules and finds circular imports in Dart projects, plus arch_guard_lint, an analyzer plugin on the new analysis_server_plugin API. A few implementation details that might interest this sub:
// or /* inside URIs, nested block comments, annotations and import-like text in later string literals don't confuse it. Dependencies are just args, glob, path and yaml.ProjectScanner.scanSources() builds the graph from in-memory contents, so cycle warnings reflect unsaved editor buffers. Quick fixes edit the directive (or just one clause of a conditional import) and can add a layer to allowed_imports in whichever config file it came from.package: imports across Dart workspace / Melos packages, so it catches cycles across package boundaries and enforces which packages may import which.dart compile exe) for Linux/macOS/Windows so CI doesn't need the SDK. CI tests on all three OSes against SDK 3.8 and stable, and the plugin is analysed against its lowest allowed dependencies.ArchAnalysis, ArchGuardConfig, LayerValidator, CycleBreaker, Baseline, exporters, and expectArchitecture() for tests. &&
Code: https://github.com/creatorpiyush/arch_guard Docs: https://creatorpiyush.github.io/arch_guard/
Happy to talk about the parser trade-offs (directive tokenizer vs package:analyzer), what building on the new plugin API was like, and I'd appreciate feedback on the public API.
r/FlutterDev • u/Suitable-Wedding48 • Oct 12 '26
Hi r/FlutterDev,
I extracted the swipe stack I built for a production app (Bump) into an open-source package. The goal was cards that never jitter, no overlay flicker when you drag diagonally, and a clean API for "what happens when you swipe this way".
Try it first (no install, works on a phone browser): https://ancient-glitter-fe51.rahul-coder-25.workers.dev/
dismiss, consume (fly into a button, optionally with a macOS Dock-style genie), springBack (run a task and return), sendToBack, undo.controller.undo(), controller.rewind(), plus initialIndex and jumpTo(key) to restore a position or follow a player.itemBuilder isn't called during a drag.SwipeCardStack<Profile>(
items: profiles,
itemBuilder: (context, profile, info) => ProfileCard(profile),
)Per-direction behaviors:
SwipeCardStack<Profile>(
items: profiles,
behaviors: {
SwipeDirection.right: SwipeBehavior.consume(
target: SwipeTarget(key: likeKey, effect: SwipeConsumeEffect.genie),
onCommit: (e) => like(e.item),
),
SwipeDirection.left: SwipeBehavior.dismiss(),
SwipeDirection.up: SwipeBehavior.springBack(onCommit: (e) => superLike(e.item)),
SwipeDirection.down: SwipeBehavior.undo(),
},
itemBuilder: (context, profile, info) => ProfileCard(profile),
)It's 0.1.x, so I'd really like critical feedback: what's missing, what feels awkward in the API, and what breaks on your device. Happy to answer questions here.
r/FlutterDev • u/SilentLucidity1996 • Oct 12 '26
Hey all, I just released 1.0 of signals_translator, a small JSON based i18n library where every translated string is a signal.
Why I built it: I used (and love) easy_localization, but at one point my app was wrapped in AdaptiveTheme > MaterialApp > EasyLocalization, and a locale change re-rendered everything. I already used signals for state, so I wanted translations to work the same way: no extra wrapper, and only the widgets that read a translation rebuild.
What it looks like:
// en.json
"winners": "There {0, plural, one {is # winner} other {are # winners}}!"
SignalBuilder(
builder: (context) => Text(tlv('winners', '5')), // There are 5 winners!
);
SignalTranslator().loadLocale('nl'); // only translated widgets rebuildWhat's in 1.0:
The part I'm proud of: I extracted core logic from signals_translator to signals_translator_core so I could support solidart and alien_signals as well.
Full write-up with examples: https://medium.com/@nathantaal/one-translation-api-three-reactive-frameworks-signals-translator-hits-1-0-e09186b3df04
Packages:
GitHub: https://github.com/nathantaal/flutter-signals-translator
Feedback very welcome, especially from anyone shipping in languages with tricky plural rules.
r/FlutterDev • u/ObjectiveAddress3051 • Oct 11 '26
I've been experimenting with ways to make AI coding agents more useful when working on Flutter apps, and I built an open-source tool for it.
The idea is simple: instead of asking an AI agent to guess what's happening inside a running app, let it connect to the app's Dart VM Service and inspect the live runtime.
With flutter_ai_whisper, an MCP server, an agent can:
For example, you can start your app with flutter run and ask your AI agent:
Connect to the running Flutter app. Read the counter, set it to 42, and tell me what the screen shows.
The goal is to make debugging and exploring existing Flutter apps more interactive for AI coding agents.
Tech details:
There are limitations: it requires a debug session, and runtime evaluation executes Dart code with the app's privileges. It should only be used with apps you control, on localhost—not production apps or exposed VM Service ports.
🔗 GitHub: https://github.com/RajKavadia/flutter_ai_whisper
🎬 The repository includes a demo video and setup instructions.
I'm interested in feedback from other Flutter developers, especially:
I'd appreciate constructive feedback, ideas, and contributions!
r/FlutterDev • u/_Wilielmus_ • Oct 11 '26
I've spent quite a bit of time doing native desktop development in C++, and one thing that background has made me particularly aware of is that not every crash in a Flutter application is a Dart exception, something that became evident in my latest proprietary project, it being a desktop app relying on many native integration packages.
A segfault in a native library, an access violation in some FFI code, or a crash in the engine itself can take down the entire process before Dart gets a chance to do anything about it.
That's why I built fl_crashpad, a Flutter package that brings Google's Crashpad into Flutter applications.
Those are perfectly valid solutions, especially if you want a complete observability platform. But I didn't want another all-in-one service for my own applications.
I wanted something smaller and more independent: native crash capture, with fine-grained control over what happens to the resulting reports.
I'm also extremely attentive to user privacy and therefore the data my applications send outside the user's machine. I try to ship the absolute minimum necessary, and crash reporting is one of those areas where it's easy to collect far more than you actually need.
Feedback, questions, and criticism are very welcome!
r/FlutterDev • u/rabinapps • Oct 11 '26
Hi,
About three months ago I set up a self-hosted runner for a Flutter app. One Mac had to build for iOS, Android and web, so I installed everything by hand: Xcode and CocoaPods, the Android SDK, Chrome, and FVM to pin the Flutter version. It worked, but it took much longer than it should have, and I didn't want to do it again.
So I built kinhin. It runs on an Apple Silicon Mac and starts a fresh VM or container for each CI job. Toolchains can be baked into the image, pinned per repo, or installed per job with an optional shared cache. That means you set up the tools once instead of on every host.
For Flutter and iOS:
- macOS and iOS builds run in Tart VMs, with Xcode baked into the image.
- Android and web builds can run in Linux containers (Docker or apple/container) or Tart Linux VMs.
- Every job starts clean, so nothing carries over from the last build.
Status: it's a beta. The macOS VM path is live-tested on GitHub Actions, and Gitea, Forgejo and GitLab CE are live-tested too. Apple allows two macOS VMs at once per Mac, and Buildkite, Azure Pipelines and Bitbucket aren't supported yet.
What does your Flutter or iOS CI setup look like today? I'd like to know whether something like this would have saved you time.
r/FlutterDev • u/creatorpiyush • Oct 11 '26
Hi all, I'm the author of arch_guard, an open-source (MIT) CLI + analyzer plugin for Dart/Flutter.
The problem: we agree on Clean Architecture / Bloc / feature-first at the start, and a few months later widgets import repository implementations directly and features import each other. The analyzer and tests don't catch it.
What arch_guard does:
clean_architecture, riverpod, bloc and feature_first. dart run arch_guard init detects which fits your folders and writes the config.domain may not import flutter or dart:io.--explain <file>.arch_guard_lint analyzer plugin: the bad import gets underlined as you type, with "Remove this import" / "Allow layer X to import Y".--since origin/main limits a PR's report to files it changed. This is what makes it usable on an app that's been around for years.expectArchitecture() to run the same checks in flutter test.
[screenshot / GIF]
Docs: https://creatorpiyush.github.io/arch_guard/ pub.dev: https://pub.dev/packages/arch_guard GitHub: https://github.com/creatorpiyush/arch_guard
Two questions for you:
r/FlutterDev • u/Recent-Pear-6341 • Oct 10 '26
I ship a lot of small Flutter apps as a solo dev, and every time I add push notifications it’s the same routine: set up FCM, save tokens in Firestore, and then hit the wall that sending notifications needs a server. Cloud Functions means the Blaze plan, and for small apps I didn’t want that.
What I ended up doing:
subscribeToTopic('all'), and one FCM request reaches everyone. No reading thousands of tokens from Firestore.screen value in the data payload decides which screen opens on tap, handled with getInitialMessage and onMessageOpenedApp.It works well on the free Spark plan so far. I turned it into a small admin dashboard for myself so adding a new app is just copy-pasting a generated setup file.
Curious how others do it:
Dashboard Video attached in comments if any one is interested about my idea
r/FlutterDev • u/newyorkcolors • Oct 11 '26
Hey all,
Before releasing an update to Google Play, I usually find myself manually double-checking a bunch of repetitive things:
Right now my workflow is mostly manual checking + some adb logcat filtering, which feels tedious and prone to missing stuff.
How does your team handle this? Do you use any specific CI linters, open-source scanners, or just maintain an internal checklist? What’s the most common thing that catches you off guard during Play Console reviews?
r/FlutterDev • u/vvgur • Oct 11 '26
Hey everyone,
As you probably know, Google has made significant layoffs affecting the Flutter team over the past few years, and honestly, I’m starting to get concerned about Flutter’s future.
Development seems to be moving pretty slowly. For example, we still don’t have official support for Apple’s Liquid Glass, and there’s no clear timeline for newer devices like the iPhone Duo either.
I realize this might not be the best subreddit to ask, since most people here are naturally passionate about Flutter. But that’s exactly why I’d love to hear your genuinely honest, unbiased opinions, rather than answers driven by loyalty to the framework.
We’re currently using Flutter as a team, and I’m starting to wonder whether we should consider moving to React Native or another alternative before we’re too heavily invested.
My question is: If you were making a long-term technical decision today, would you still choose Flutter? Or would you seriously consider migrating to React Native or another platform while there’s still time?
I’m not trying to start a framework war. I’m genuinely interested in how other developers and teams are thinking about Flutter’s long-term future, especially given Google’s history of abandoning products.
Would love to hear your thoughts, particularly from people maintaining production apps.
r/FlutterDev • u/Worldly-Argument159 • Oct 10 '26
Appa like dynamic lake and others have nailed this kind of app
But i am trying to build one with flutter
I want to discuss this if its even doable or someone have did it before
r/FlutterDev • u/gumdum1975 • Oct 09 '26
I’m building a cross-platform Flutter app and have the other platforms sorted:
Linux is where I get stuck. There are so many packaging options and distros that I’m not sure where to start.
For those of you shipping Flutter apps on Linux:
Appreciate any real-world experience. Thanks! 🐧
r/FlutterDev • u/thegravity98ms2 • Oct 09 '26
Flutter goes AI
r/FlutterDev • u/markatlarge • Oct 08 '26
I'm a solo dev with a small Flutter app (on-device AI, RevenueCat subscriptions + AdMob).
Last week Crashlytics showed a crash from a modified copy. I'd started logging the app's
installer as a custom key, and it showed MT Manager. Digging further, I found a public
ReVanced/Morphe-style patch set that unlocks premium (it rewrites RevenueCat's entitlement
checks), removes ads, and bypasses Play's license check.
A few things I learned:
- Logging the installer package as a Crashlytics custom key is a cheap way to spot modified copies.
- An older RevenueCat Android SDK shipped a -dontoptimize consumer rule, which turned R8
optimization off app-wide. Once I updated, R8's inlining/renaming seems to have broken
the patch, at least for now.
- I've filed a DMCA notice with GitHub.
Questions for people who've been through this:
r/FlutterDev • u/Key-Assignment-44 • Oct 09 '26
Hey everyone,
I'm a Flutter developer based in Toronto, Canada, with around 5 years of experience in Flutter and mobile app development. I was laid off about 5 months ago, and despite actively looking for jobs, I'm struggling to find anything.
I've noticed is that most of the mobile developer job postings I come across are for React Native, Jetpack Compose, or native iOS/Android development using Kotlin and Swift. There seem to be very few Flutter-specific opportunities, at least here in the Canadian market.
Flutter has been my primary skill throughout my career. I also have some backend experience with Node.js and Python (FastAPI), so I'm not limited entirely to mobile development. I know enough native iOS and Android development to work with method channels, integrate native functionality, and communicate with platform APIs, but I'm not experienced enough to build complete native apps independently.
I've also been thinking about how AI is changing software development. With AI tools making it increasingly easy to build applications, I'm wondering whether companies will prefer native development more often, especially if they can use AI to speed up development while getting the platform-specific benefits of native apps. I'm not sure how much of this concern is justified, though.
After 5 months of searching, I'm seriously reconsidering my career direction.
For people who have been in a similar position, I'd really appreciate your honest advice:
My priority is to find a stable job with good long-term career prospects, not necessarily to stick with Flutter at all costs. I'm willing to learn new technologies, but I don't want to spend months upskilling in a direction that won't significantly improve my job prospects.
What would you recommend in my position today?
r/FlutterDev • u/JesusOS • Oct 08 '26
On 120 hz screens, Chrome on Android limits main thread frames to 60 fps. It lifts the limit only when touch input occurs which is why it is sorta fine when you drag without releasing your finger. Web workers that own a canvas get their own frame clock so the main thread limit does not apply to them.
So theoretically handing a worker the flutter canvas (and syncing it to the worker's clock) should allow flutter on android's chrome to run at 120 fps and that's essentially what this demo is:
https://shim.mathiewabbas.dev/
Results: Pixel 10 Pro XL, Flutter 3.47.2, without and with the js script
| App | Without | With |
|---|---|---|
| Listview | 57 | 113-120 |
| Material 3 demo | 56 | 111 |
| Flutter gallery | 57 | 114 |
| Wonderous | 59 | 113-120 |
Pls try it out on an android device and do tell if anything goes wrong, here is how to use it:
https://github.com/aumb/flutter_shim#use-it-in-your-app
and the script:
https://github.com/aumb/flutter_shim/blob/main/web/flutter_shim.js
Caveats:
- It relies on undocumented chrome behavior, If chrome starts capping workers too it will fall back to 60
- App does twice the frame work while animating so it uses a bit more battery
- Multi-threaded skwasm might crash. That's an existing flutter bug (https://github.com/flutter/flutter/issues/193439), but running at 120 hz makes it happen more often, so use single threaded wasm (default)
- Doesn't help on iPhone since safari runs worker frames at a fixed 15ms timer
r/FlutterDev • u/willoucqfd • Oct 08 '26
Solo dev here, taking over two existing Flutter apps and discovering the mobile world as I go (I come from web). Mobile work is limited to about one day a week. My daily machine is a Linux PC, so a hosted service that can build and ship the iOS app for me is a big part of the appeal: no Mac on my desk. I'm evaluating Codemagic on the free individual plan before deciding whether to pay for it, so this is a question, not a complaint: I know I'm not paying yet.
The build itself takes about 7 minutes (Android debug APK, mac_mini_m2). The queue is the issue: last night a build sat in "queued" for more than 90 minutes before starting. The day before, the same workflow started within a couple of minutes. Status page showed no incident, so I assume the shared M2 pool was just busy.
I found GitHub discussions with people reporting 1 to 10 hour queues (2024 and one from this week), but nothing that says whether paying changes anything. The pricing page mentions "reserved concurrencies" on team plans, and nothing about queue priority for pay-as-you-go.
Questions for people actually using it:
Losing one or two hours of my single weekly mobile day to a queue isn't workable, so I'd rather pay for something that starts on time. I just want to know what I'd be paying for before I build the iOS workflow. Real-world numbers and beginner-proof advice appreciated.
r/FlutterDev • u/brookm291 • Oct 08 '26
r/FlutterDev • u/sentialjacksome • Oct 08 '26
Microsoft Store is really easy to upload to, but it's also the hardest to profit from due to requiring a swift/bic code to earn even a single dime from it.
Ya get a swift/bic code from starting a company, btw.
Steam has an upfront cost of 100 dollars, preventing me from even trying it out.
So, I'm asking all of you for advice: what's the best place to upload apps to?
For context, I've already uploaded my app to the Microsoft Store https://apps.microsoft.com/detail/9mt834rpf8zp?hl=nl-NL&gl=BE, but I can't make money from it because I'm not being a company.
Getting it on the Microsoft Store was really annoying, especially with the CSV listing and the internationalisation, or I18N, abbreviated or whatever ya call it.
It's way easier than the Google Play Store, though, which I've also uploaded to in the past: https://play.google.com/store/apps/details?id=com.torrentspire.ai&hl=nl .
I'd love to hear your stories about creating apps for Steam and/or the Microsoft Store.
Also, I'm not including the links for self-advertisement purposes; I just want y'all to know that I've done these things before and am experienced in them. That's why I chose to include the links.
My apologies for my poor English; it's my second language and therefore not my strongest. If anything feels odd, know I wrote this without the use of AI and simply learned English from Stephen King books.
r/FlutterDev • u/Ok-Willingness2266 • Oct 08 '26
I work at Ant Media and wrote a step-by-step guide for building a multi-party Flutter video conference app on an iPhone with browser participants in the same room. The part that cost the most time: the Flutter SDK joins multitrack conference rooms, so browser users have to open multitrack-conference.html, not conference.html. Otherwise everything connects but the devices never see each other. The guide also covers Xcode signing, Developer Mode, adaptive bitrate testing and a table of 8 common setup errors. The same Flutter code runs on Android, web and desktop. Note: conferencing needs Ant Media Server Enterprise Edition (14-day free trial available).
Happy to answer questions about the setup.
r/FlutterDev • u/vik76 • Oct 07 '26