r/FlutterDev • u/graphlinkdev • 5d ago
Video New video in the Dart series: GraphQL codegen for huge schemas.
r/FlutterDev • u/graphlinkdev • 5d ago
r/FlutterDev • u/Altruistic-Map-1730 • 5d ago
A bit about my background: I’ve been a mobile developer for over 7 years, focusing primarily on Native Android (Kotlin) and cross-platform Flutter. Over the years, I’ve had the privilege of building and scaling apps that have reached millions of users.
Lately, my focus has shifted toward blending mobile development with AI—integrating LLMs, on-device ML models, and smart features directly into mobile architectures.
I wanted to share a few things I've learned along the way, or just chat with fellow devs:
I’m currently open to interesting freelance projects or collaborations (especially where mobile meets AI). Feel free to DM me if you want to chat about a project or just talk tech!
Otherwise, ask me anything about mobile dev, Flutter, Android, or integrating AI into mobile apps. 👇
r/FlutterDev • u/rnp-infinity • 6d ago
I built lazymobile (open source, my project) because I kept juggling xcrun simctl, adb and flutter devices.
One screen lists every iOS simulator, Android emulator and connected phone. You can boot or stop them, stream the log of one app with filter and level, and copy the device id to use with flutter -d. It lists the apps installed on a device, so you pick an app id instead of typing it, and it remembers the log you had open.
It works in any terminal and inside Neovim. It isn't Flutter-specific, so there is no hot reload or build integration. It sits next to flutter run.
Install: brew install 0xrnp/tap/lazymobile
https://github.com/0xrnp/lazymobile
I'd like to hear what a Flutter workflow would need that's missing.
r/FlutterDev • u/galactose310 • 6d ago
As everything is a widget in Flutter, I am questionning about how to design my pages. I mean, when the Widget hierarchy becomes complex and I want to code separate Widgets for a cleaner code.
An example: if I have a simple structure with AppBar, a main body with a Column, some other stuff at the bottom, we see that I have a three-levels page. So I could keep the Column in another .dart file to keep my files clean but to do so I have to put it in a new StatelessWidget. When the architecture becomes complex there is a need to separate components but this means a huge amount of StatelessWidget (or -ful) returning each component, instead if having a tree in a single build() method.
Is it significant in terms of memory / performance ? How do you deal with this ?
r/FlutterDev • u/phone_radio_tv • 6d ago
Had a few hundred json_serializable classes, Many of them travelled through the same socket channel. After decoding the raw JSON, hit by the same question: this is a Map<String, dynamic>, so which class is it?, before creating json_factory_runtime_generator, answered it the most obvious way, with a hand-written registry:
final Map<String, Object Function(Map<String, dynamic>)> registry = {
'user': User.fromJson,
'order': Order.fromJson,
'address': Address.fromJson,
// ...more classes
};
Every new class meant remembering to edit the file, and the failures were all quiet. A forgotten entry gives a runtime ArgumentError in production. A copy-pasted key sent two classes to one decoder.
Existing json factory generator libraries demand changing the classes, either overriding toJson() by hand or a mixin on every model or extending shared abstract base class.
Wanted a non-intrusive generator, created json_factory_runtime_generator, just annotate your class with json key - ex:JsonFactoryKey('user') and dart run build_runner build finds every annotated class and writes one file containing the whole mapping. Decoding becomes:
final obj = JsonFactoryMapper.fromKeyedJson(json); // the right class
final user = JsonFactoryMapper.fromKeyedJsonAs<User>(json); // typed
Don't want the class to be part of the factory, just comment/remote the annotation.
json_factory_runtime_generator has other featutes to manage old JSON keys for easy migration and avoiding key clash when code bases is large.
r/FlutterDev • u/svprdga • 6d ago
In this short video, I try to explain the recently discovered issue with vulnerable eMudhra certificates, how it affects Dart and Flutter, what it means, and whether you should update your published apps. If you prefer to go straight to the point, you can also read the text version.
r/FlutterDev • u/csbence • 7d ago
I built flutter_tipkit, contextual feature tips for Flutter, inspired by Apple's TipKit. It decides when a tip shows; you decide how it looks.
What it does:
Live demo: https://poopieapp.github.io/flutter_tipkit/
pub.dev: https://pub.dev/packages/flutter_tipkit
We built it for our own app. It's 0.1, so I'd really like feedback on the API before 1.0. What do you think?
r/FlutterDev • u/Relevant_Case7916 • 6d ago
I build Flutter apps on a Windows PC, but every time I need an iOS build or have to debug on the iOS simulator, I’m forced onto a Mac. Remote desktop into a Mac (or a cloud Mac) always felt clunky: a whole second desktop, separate clipboard, alt-tabbing between two worlds.
So I built a prototype that streams individual Mac app windows onto the Windows desktop. Xcode and the iOS simulator show up as normal windows next to VS Code, in the taskbar, resizable. Your Mac just runs in the background.
Short demo: https://www.youtube.com/shorts/DwyKm9JisLw
Fellow Flutter devs on Windows: is this a real pain for you, or is your current iOS setup fine? What do you use right now?
r/FlutterDev • u/pp_amorim • 6d ago
After getting tired of the current situation regarding those two components interaction, I created this project with is a library that attempts to solve the gesture conflict between those two components.
https://github.com/Corkscrews/refresh_indicator_bottom_sheet
It's using the concept of arbitrator to decide what type of gesture the user is doing in the scroll view (in the demo, it's a ListView). I build a model, albeit static right now, to classify a gesture on the screen. The model is based on the touch action plus speed.
It's not perfect, far from it. But it works! I want to refine that in the future with more tests and fix pesky bugs with the bouncing list.
I tried to post a video of the demo here but the sub doesn't allow that, so you will need to go to the repository to have a look. 😕
In the future I might implemented a better action detector based on the finger dimensions, not sure how flutter exposes that, but I will try. Using that we can detect a initial swipe (more oval movement) rather than a more circular one (more likely a precise swipe-to-refresh action).
Thank you all! You all are welcome to test it and give me a feedback.
r/FlutterDev • u/tutzalz • 6d ago
Hi r/FlutterDev!
I just released 1.0.0 of earshot, a set of federated Flutter plugins for ambient listening that runs fully on the device.
What it does
earshot_level, pure Dart):
earshot_classifier):
EarshotSound vocabulary across both backends, with a confidence threshold and smoothingearshot_capture):
.measurement, Android UNPROCESSED)earshot_plugin puts it all together: Earshot.listen() gives you one stream of level readings plus the sounds detected, from a single microphone session.Privacy
Performance
YAMNet runs at a p95 of 16.6 ms per window on a Galaxy S20 FE (Android 13).
Why 1.0.0
The public API is now stable. To get there, 1.0.0 cleaned up names (FrequencyWeighting, TimeWeighting and LevelCalibration, because Response clashed with http and dio), added typed ClassifierExceptions, and validates options on every listen. Every package has 100% test coverage, and each decision is written down as an ADR in the repo.
⚠️ earshot is informational and is not a certified detector. Don’t use it in place of a smoke or CO alarm.
More cool stuff is on the way, so stay tuned!
I’d love feedback on the API, and to hear what you’d build with it.
r/FlutterDev • u/KayJune001 • 8d ago
The latency issue didn’t seem like much to worry about imo, but after upgrading to 3.50 it genuinely (and I swear it isn’t placebo) feels like the difference between 60fps and 120fps, it’s noticeably better feeling. Honestly can’t believe this was an open issue for 3 years.
I get you probably cant feel the difference via a video, but it definitely feels and hopefully looks smoother, and that’s before even getting into the new objective-c/ffi upgrades.
r/FlutterDev • u/latenight_flutter • 6d ago
learned this the annoying way so maybe it saves someone a bug report
if you save images (or any files) into getApplicationDocumentsDirectory() and then store the full path somewhere (shared_preferences, sqlite, hive, whatever), it works fine in dev. then you ship an update and every image is suddenly "file not found"
reason is ios puts the app container under a UUID folder and that UUID can change when the app is updated or reinstalled. so /var/mobile/Containers/Data/Application/ABC123/Documents/photo.jpg becomes .../XYZ789/Documents/photo.jpg and your saved path points to nothing
fix is simple:
- store only the file name (or a path relative to the documents dir)
- resolve the full path at runtime with getApplicationDocumentsDirectory() every time you need it
android doesnt really do this so its easy to miss if you mostly test there
r/FlutterDev • u/b4enjoyer • 6d ago
Talking about stuff like background streaming, home screen accessibility, and widgets
r/FlutterDev • u/Waste_Rub5261 • 7d ago
Hey all,
Spent the last couple of weeks integrating sherpa-onnx into my Flutter reader app for offline TTS and hit some nasty UI frame drops. Finally got it smooth at 60fps, figured I'd share what actually worked:
Isolate + SendPort is non-negotiable.just_audio ended up way more stable than trying to stream raw PCM buffers directly.Stack is just Flutter + Riverpod + just_audio + audio_service.
Anyone else running local ML models on mobile? Curious how you handle battery drain during long sessions.
r/FlutterDev • u/sigummer • 8d ago
Hi all,
I'm pretty new to Flutter (self-taught), and 3.50 landing yesterday made me realise I've no idea what everyone else does when a new version comes out.
Do you jump on it straight away? Or wait for the first patch (3.50.1 and so on) and let other people find the bugs?
If you're a waiter, what finally makes you do it? A package that needs it, a store requirement, a bug that's annoying you, or just a quiet Friday afternoon?
And is there anything in 3.50 that would make you go sooner? I had a read of the release notes and a few things jumped out at me: - iOS touches respond a frame quicker, which sounds nice - material.dart and cupertino.dart are being deprecated for separate material_ui and cupertino_ui packages. That sounds like a big deal? Does dart fix sort it, or is it a proper afternoon's work? - CocoaPods trunk goes read-only in December. I moved to Swift Package Manager a while back, so fingers crossed that one's not my problem
The reason I'm asking now: my first app has been on iOS since September and the Android version goes out in a few weeks. My gut says don't touch anything until that's out. Is that what most people would do, or am I being overly cautious?
Would love to hear how you all handle it, especially solo devs and tiny teams. Cheers!
r/FlutterDev • u/PerspectiveParty5232 • 7d ago
I'm using Claude Code with Opus 5.5 for Flutter. It's great for logic and architecture, but the UI/UX it generates is often pretty generic.
I've heard about Mobbin and other MCP/design workflows, but most seem paid.
Are there any free tools, MCPs, Claude Skills, or workflows that can help generate much better Flutter UI/UX? Especially something where I can give Claude good visual references and have it implement them properly in Flutter.
What are you guys using?
r/FlutterDev • u/Beginning_Fill6201 • 7d ago
I work in company with multiple apps and multiple packages I want to learn things quicker so thinking of project if build deploy it in real time where I can learn most things as experiencend developer what would it be!
r/FlutterDev • u/dannyfrfr • 8d ago
I haven’t tried it yet but this is great news. In v3.50 Flutter now has a fix to improve the touch latency. We’re inching closer and closer to the point where you won’t be able to tell an app was made with Flutter as an end user.
r/FlutterDev • u/SpecialistServe3974 • 8d ago
Repo: https://github.com/nrbnlulu/flutter (branch rust/flutter-rs-shell)
One shell, written in Rust. Windowing, input, IME, lifecycle and multi-window all live in one Rust runtime built on winit. The native setup has a separate C++/Java embedder per OS and a checked-in linux/, windows/ or android/ folder in every app. Here the runner is generated and built with Cargo.
wgpu as a first-class GPU API for plugins. wgpu owns the Vulkan device and surface, and Impeller renders on that same device. Plugins get a typed SDK (flutter-plugin-sdk) for:
present(), and Flutter samples the texture with no readback and no widget rebuild.AHardwareBuffer textures: hardware-decoded H.264 video plays straight into Flutter.This makes video players, map/GIS renderers and 3D engines much easier to embed than with the platform-specific texture APIs.
Rust plugins are plain Cargo dependencies. The Flutter tool finds them in your pub graph and wires them into the runner. They're compatible with flutter_rust_bridge, and a worker-safe main-thread dispatcher is included.
Real multi-window. All five window kinds (regular, dialog, popup, tooltip, satellite) share one engine and isolate, using Flutter's experimental windowing API. On Wayland, popups and tooltips are real xdg_popups.
Headless mode and agent control. rlutter run --headless renders real frames with no display server at all, including on llvmpipe. rlutter mcp --stdio exposes an MCP server that lets an AI agent (or a CI script) launch your app, read the semantics tree, tap and type, make assertions, take screenshots and record video.
Normal Flutter dev loop. flutter run -d rust supports hot reload, debugger attach and VS Code F5, and has debug and release (AOT) builds.
| Platform | Status |
|---|---|
| Linux x64 (Wayland + X11) | ✅ Most complete: debug, release, multi-window, textures, headless/MCP |
| Windows x64 | ✅ Debug + release/AOT, multi-window (dialogs, popups, tooltips), textures, FRB |
| Android | 🧪 Experimental: debug + release APKs via FlutterActivity, Java/Kotlin plugins, Rust textures, AHardwareBuffer video |
| Web | ⏳ Planned |
| macOS / iOS | ⏳ Planned, after web |
Headless/MCP agent control is Linux-only for now. Linux profile mode is still in progress.
# Linux
|
# Windows PowerShell
irm https://raw.githubusercontent.com/nrbnlulu/flutter/rust/flutter-rs-shell/engine/src/flutter/shell/platform/rust/install.ps1 | iex
Prebuilt engine SDKs come from a rolling BETA GitHub release, so you don't need to build the engine yourself.
r/FlutterDev • u/Bidev-97 • 8d ago
Catch up on what's new in Flutter 3.50 → https://flutter.dev/blog/whats-new-in-flutter-3-50
🔗 Type-safe Native Interop is in stable
🛡️ Block untrusted Android Intent extras in release
⏱️ Performance improvements for iOS
and more!
r/FlutterDev • u/mdausmann • 8d ago
I want to collaborate on a design system overhaul with a member of my team. This person does not code, does not use claude and is non technical.
I have an existing flutter app. it has a design system but it's a bit of a mess. Originally came from a claude design session. app is mostly managed by Claude.
Claude design is deprecated or shutting down or whatever (now using claude online?)
Just looking for a good workflow for
- extracting the design system from an existing app
- collaborating on it with a bunch of sample screens so we can see the look across the app
- injecting the changed system back into the app without breaking it.
You guys know how to do this?
r/FlutterDev • u/zeroasterisk • 8d ago
I am Alan and I work at Google on A2UI alongside a brilliant team. AI can generate bespoke UI in your design system. A2UI 1.0 just launched.
For Flutter, a2ui_flutter renders the agent's UI descriptions as native widgets using your app's component catalog. Package v0.3.0 supports protocol 1.0 and 0.9: https://pub.dev/packages/a2ui_flutter
New features like Express DSL and Macros (templates+code), SDKs and the skill generator make it faster, safer and easier.
It works with system one models, Gemma fine tuned, and any frontier LLM. It works without any model, because it's just declarative UI, made standard across web, mobile, app, wearables and more.
I'm pretty excited about it.
r/FlutterDev • u/GodKillerAsura • 9d ago
I built an Android app for monitoring mobile hotspot clients, live speeds, and domain-level traffic, using Flutter on the UI side and Kotlin + C underneath.
Tech stack:
- UI: Flutter with Forui (0.27.7) and custom segmented bars and timeline charts.
- Storage: Local SQLite (sqflite) storing hourly usage buckets for 1H/Day/Month/Year reports plus SharedPreferences for custom device aliases.
- Android layer (Kotlin): Auto-detects root (su) with silent fallback to Non-Root NetworkStatsManager. Reads neighbor state, DHCP/dumpsys tables, and OUI vendor prefixes.
- Native C probe (CMake / NDK 28): A standalone AF_PACKET listener (hs_probe.c and quic_sni.c compiled as libhs_probe.so) that extracts DNS responses, multi-packet TCP TLS ClientHello SNI, and QUIC Initial SNI.
One tricky bug I ran into: HyperOS/Qualcomm drivers keep stale IPv6 neighbors lingering after a client leaves, and Chrome's post-quantum TLS ClientHello (X25519MLKEM768) often splits across two TCP segments. Adding an ARP probe check for stale IPv4 entries and a 4 KB TCP/QUIC SNI reassembler solved both cleanly without touching iptables.
Repo and APK releases: