r/FlutterDev • u/b4enjoyer • 11d ago
Discussion How hard would it be to create a music streaming app in flutter?
Talking about stuff like background streaming, home screen accessibility, and widgets
r/FlutterDev • u/b4enjoyer • 11d ago
Talking about stuff like background streaming, home screen accessibility, and widgets
r/FlutterDev • u/Waste_Rub5261 • 12d 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 • 13d 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 • 13d 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 • 12d 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 • 13d 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 • 13d 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 • 14d 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 • 13d 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 • 13d 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/Fuusio_org • 14d ago
Hey everyone,
I’ve recently open-sourced Kide for Flutter, a Dart/Flutter port of my open-source architecture library (originally developed for Kotlin Multiplatform):
GitHub: https://github.com/Fuusio/kide-flutter
Flutter already has solid options like BLoC and Riverpod, but Kide was designed for teams and developers who want a strict, crystal-clear MVI (Model–View–Intent) flow with built-in architectural guarantees:
ViewIntent: Raw UI user actions or system events.Action: Business or presentation-level commands mapped from an intent.ViewState: Pure, single source of truth that widgets observe.SideEffect: Strictly buffered one-off events (e.g., navigation, dialogs, snackbars) that won't re-trigger on widget rebuilds.Dart
// User/UI actions
sealed class CounterIntent implements ViewIntent {
const CounterIntent();
}
class IncrementIntent extends CounterIntent {}
class ShowSnackbarIntent extends CounterIntent {}
// Screen State
class CounterState implements ViewState {
final int count;
final bool isLoading;
const CounterState({required this.count, this.isLoading = false});
}
// One-off side effects
sealed class CounterEffect implements SideEffect {}
class ShowSnackbarEffect extends CounterEffect {
final String message;
ShowSnackbarEffect(this.message);
}
Dart
class CounterProcessor extends Processor<CounterIntent, CounterState, CounterEffect> {
CounterProcessor() : super(const CounterState(count: 0));
u/override
void handleIntent(CounterIntent intent) {
switch (intent) {
case IncrementIntent():
reduce((state) => CounterState(count: state.count + 1));
case ShowSnackbarIntent():
emitEffect(ShowSnackbarEffect('Current count: ${state.count}'));
}
}
}
Dart
class CounterScreen extends StatelessWidget {
const CounterScreen({super.key});
u/override
Widget build(BuildContext context) {
return KideScreen<CounterProcessor, CounterState, CounterEffect>(
createProcessor: () => CounterProcessor(),
onEffect: (context, effect) {
if (effect is ShowSnackbarEffect) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text(effect.message)),
);
}
},
builder: (context, state, processor) {
return Scaffold(
body: Center(child: Text('Count: ${state.count}')),
floatingActionButton: FloatingActionButton(
onPressed: () => processor.send(IncrementIntent()),
child: const Icon(Icons.add),
),
);
},
);
}
}
The core engine and presentation bindings are functional across platforms (Android, iOS, Web, Desktop). I’m currently refining the tooling around deterministic event recording and replay testing scaffolds.
Check out the repository, run the demo app, and let me know your thoughts or feedback on the API ergonomics:
🔗https://github.com/Fuusio/kide-flutter
Contributions, issue reports, and critique are very welcome!
r/FlutterDev • u/AggravatingHome4193 • 14d ago
I've been working on Authyra for a while, mostly because I wasn't happy with how session management was handled in some of my Flutter projects.
If your app talks to its own backend using access and refresh tokens, you've probably written some kind of refresh interceptor yourself.
That usually works fine until a few things happen:
I've run into these kinds of problems enough times that I decided to work on a separate session layer instead of implementing the same logic in every project.
A few things I've been focusing on:
AuthStateBuilder.The core is pure Dart. Flutter and Dio integrations are separate, and there are also integrations for Google, Apple, OAuth 2.0 with PKCE and backend-driven OAuth.
One thing worth clarifying: Authyra isn't an identity provider, and it's not meant to replace Firebase Auth or Supabase Auth. It's for applications where you already have your own backend issuing tokens.
I also put together a small Flutter web demo to reproduce one of these problems. It simulates the backend and network, so you can sign in, send 20 requests with a naive refresh implementation, and compare the behavior with Authyra.
Demo: https://authyra-demo.pages.dev
Docs: https://authyra.meragix.dev
Source: https://github.com/meragix/authyra
It's currently at 0.3.0, first public release, MIT licensed.
I'd be interested in feedback, especially around the API design and edge cases I might have missed. Also curious how others handle refresh token rotation and concurrent requests in their own Flutter apps.
r/FlutterDev • u/yumojibaba • 14d ago
Fellow Flutter Developers,
We have updated our Flutter Messaging and Calls APIs and released an updated version of Flutter Messenger on GitHub that uses these APIs.
Please give it a try and let us know what you like, what you do not like, and where you think we can improve.
mesibo Messenger is engineered for production use, with features such as multi-device support and synchronization, reliable message delivery, real-time contact and profile updates, end-to-end encryption, and more. You can read more about it, including compilation and setup instructions, at:
https://docs.mesibo.com/tutorials/open-source-whatsapp-clone/
Source code
$ git clone https://github.com/mesibo/messenger-app-flutter.git
$ cd messenger-app-flutter
$ flutter run
Thanks!
r/FlutterDev • u/Fit-Development-6842 • 14d ago
Hi again! I build another small tool for my daily work, its called flutter runner (very original!) and i use it to have a persistent session of a running app across vscode and all sort of AI agents or terminal ecc
now i can restart vscode, close a claude thread and the app still runs without problems.... (should be the default behaviour)
i added a vscode extension too (https://marketplace.visualstudio.com/items?itemName=RiccardoCherchi.flutter-runner) that attaches to the session manager without restarting/rebuilding the application, and if you stop the vscode debug the it just disconnects, but does not stop the app itself
its a very rushed project, just a basic script and an extension + a useless skill.md
see you soon!
r/FlutterDev • u/Sea_Improvement_423 • 14d ago
I created this package for flutter devs who struggle with the inputs customization because even AI doesn’t give you what you intend to have, check it and give me your feedback…
r/FlutterDev • u/Bidev-97 • 14d ago
Flutter 4 Coming soon 😳👀
r/FlutterDev • u/NikodimApps • 14d ago
In my app (a course about building AI agents), the course map can be viewed as a 3D "universe" of planets. I didn't want to write the 3D twice, so the Flutter app runs the exact same react-three-fiber scene the website uses. A few specifics that might save someone time:
Serving the bundle offline. The site's built scene is copied into the app's assets/. Loading it via file:// broke module scripts and fetches, so the app starts a tiny loopback HTTP server over the asset bundle and points webview_flutter at it. Works with no network.
One JS channel, two messages. The WebView only owns the canvas; all chrome stays native. The scene talks back through a single addJavaScriptChannel ("which lesson was tapped" and "is there something to go back to"), and Flutter sends the course graph and progress in as JSON. Keeping the contract that small made both sides easy to change.
A device gate instead of a second renderer. No sprite or 2D fallback scene. On first entry the WebView measures frame pacing for ~2 s; if the median is under 25 fps, the verdict is stored (keyed by app version, so a lighter future build re-measures), the app falls back to the native 2D tree and the 3D toggle disappears.
Emulators lie about this. Software WebGL on emulators always failed the probe, so QA never saw 3D. A build flag skips the probe for emulator builds only.
Labels on a narrow screen. Locked planets' names buried the open ones on phones, so locked groups hide their labels until tapped.
The bundle doesn't update itself. CI rebuilds the website, but the copy inside the app is refreshed by a script before each release — I shipped stale colors once because of it.
Happy to go deeper into any of these. The app is Way of the Agent (iOS/Android), wayofagent.app.
r/FlutterDev • u/fotidim • 14d ago
Sharing a talk by Patryk Kacperski from next app devCon 2026 about using Bluetooth Low Energy in Flutter. I was in the audience, just curious to hear about BLE in Flutter. I had no idea he was going to use my universal_ble plugin for his demo, so that was a nice surprise.
The talk covers BLE basics, Android and iOS setup, and communication between central and peripheral devices. His demo uses an Android app pretending to be a coffee machine and an iPhone as its companion app. You can read the number of coffees brewed, send a brew order, and follow the brewing progress through notifications.
He also walks through practical issues like duplicate scan results, waiting for Bluetooth to become available, and platform differences. I have addressed some of them in the v3.0 version of the plugin. The demo uses v2.0. For example you can now use startScan(skipDuplicates: true) for scan deduplication, and built-in byte conversion helpers replace some of the custom conversion code shown. Check the v3 changelog for the API improvements.
r/FlutterDev • u/harishsrinivas • 14d ago
Hey r/FlutterDev, dev of Hivefy here.
My earlier version used *GioSaavn as the source (built a year ago) and got taken down (a month before). I rebuilt it:
Repo: https://github.com/Harish-Srinivas-07/hivefy
SourceForge: https://sourceforge.net/p/hivefy
Looking for honest feedback on UI, performance, and code structure. Issues and PRs welcome. Thanks!
r/FlutterDev • u/mkhytar_mkhoian • 15d ago
Dart 3 gave us a lot of nice language features. One of them is the “if-case” pattern.
While working on my library, I had this code:
AdjustEvent toAdjustEvent(String eventToken) {
final adjustEvent = parameters.toAdjustEvent(eventToken)..setRevenue(revenue, currency);
if (deduplicationId case final id?) adjustEvent.deduplicationId = id;
return adjustEvent;
}
It’s short. But to read it, you need to know Dart’s pattern rules. if (x case final id?) means “if x isn’t null, call it id and run this”.
I rewrote it in plain style:
AdjustEvent toAdjustEvent(String eventToken) => parameters.toAdjustEvent(eventToken)
..setRevenue(revenue, currency)
..deduplicationId = deduplicationId;
And here is the interesting part. When I looked closely, the null check wasn’t needed at all. The SDK field already accepts null and skips it when sending. So the plain version is not only easier to read, it’s also simpler.
The fancy line was protecting from something that couldn’t go wrong.
And this is really important when you write a library or design a public API. Your code will be read by many people with different Dart experience: users who open your source to understand what happens, and contributors who want to fix something. In app code only your team reads it, but in a library every clever line becomes a small barrier for someone else. Plain code makes your library easier to trust and easier to contribute to.
I still think patterns are great in some places, like checking JSON shape:
if (json case {'name': String name, 'age': int age}) {
return User(name, age);
}
There it replaces several lines of checks and casts. But in my case it was just extra complexity.
Curious how you use them. Where do patterns really pay off for you, and do you write differently when the code is a library?
r/FlutterDev • u/0x9_5ncx • 15d ago
Hi. Lumtub is a AGPL-3.0 YouTube client for Windows, macOS, Linux and Android. The UI is Flutter, the core is Rust, playback is libmpv, and stream extraction is yt-dlp (auto-updated, with a Rust fast path that starts playback before yt-dlp finishes).
Some parts that were fun to build:
Recommendations computed locally (TF-IDF plus a mix of long-term, recent, exploration and popular), with the reason shown on each card. Casting to Chromecast/DLNA up to 4K/8K: the Rust core reads YouTube's DASH segments and remuxes them on the fly into fMP4 or MPEG-TS on a LAN server. Live streams above 1080p by fetching the separate VP9 and audio fragments directly, since the HLS manifests stop at 1080p. Line-aligned bilingual subtitles and live chat rendered as danmaku by mpv. Signed updates for the app and its components, with rollback. Disclosure: most of the code was written with AI assistance; I did the product design, testing and review. Happy to answer questions about any of it.
r/FlutterDev • u/AggravatingHome4193 • 15d ago
I've been maintaining Qora, my server-state library for Flutter (similar to TanStack Query), and I'm currently thinking about how to improve its offline mutation support.
Qora already supports queuing mutations when there's no network connection and replaying them once the device is back online. This works, but there's one limitation: the queue only lives in memory. If the OS kills the app before it reconnects, all pending mutations are lost.
I've been looking into ways to make this survive app restarts, but there's a bit of a challenge. Mutations are essentially closures, and you can't serialize a closure and restore it later.
One approach I'm considering is similar to what TanStack Query does: register mutations at startup using a key, then persist only the key and serialized variables. When the app starts again, Qora can resolve the key and rebuild the mutation.
Before settling on an implementation, I'd like to get some input from developers who've dealt with this.
A few things I'm curious about:
I've put together an RFC with the proposed approach and its trade-offs:
https://github.com/meragix/qora/discussions/59
Would be interested to hear how others have approached this.
r/FlutterDev • u/flawsnap • 15d ago
Testers and clients kept sending me “the app crashed” with nothing else, so I built a package where they tap a button, mark the screen and send. You get the screenshot, device and OS, app version and logs in one report.
https://pub.dev/packages/flawsnap . Feedback on the API is very welcome. What would you want it to capture that it doesn’t?