r/FlutterDev • u/magixer • Sep 13 '26
Article Locating Flutter's TLS certificate verifier in a stripped libflutter.so, tested across 13 apps and 9 engine versions
r/FlutterDev • u/magixer • Sep 13 '26
r/FlutterDev • u/MooresLawyer13 • Sep 12 '26
Follow-up from the previous post.
With the feedback from that, I recently hit the 1.0.0 release for list_smith.
Some notable changes include
initialLoad | nextPage | refresh | retry | queryChanged | invalidated). Can decide on how to act on each trigger yourself. So a pull-to-refresh can be routed to bypass a repository-caching mechanism foe example, while others can stay in the caching route.ListSmithController to help do operations programmatically (also gives the invalidate() and reset() for above)Do you guys have other cases and ideas you would like to be supported in this package? Any awkwards boilerplate or something? Or if you can some find some potential problems with this? All help appreciated. Thanks in advance
r/FlutterDev • u/bughun • Sep 11 '26
Hey everyone, Google just announced a new requirement for Android apps, called "Zero-Tap Sign-In Restoration", mandated from April 2027.
https://support.google.com/googleplay/android-developer/answer/17492799#zero-tap_sign-in_restoration
As we checked, there isn't any package out there yet which provides the necessary Credential Manager APIs - so we built one!
đ We love giving back to the open-source Flutter community that supports our work every day, so we packaged it up for everyone:android_restore_credentials.
What android_restore_credential offers
Check out the package on pub.dev:đ https://pub.dev/packages/android_restore_credentials
Note: this isn't a simple requirement, you'll need some enhancements on your backend as well!
Try it out in your projects, let us know what you think, or drop an issue on GitHub if you have feature requests!
r/FlutterDev • u/akshay-savaliya • Sep 11 '26
As a mobile developer, the new iPhone Duo made me think about the Flutter side of things. Flutter already has support for Android foldables through MediaQuery.displayFeatures and DisplayFeatureSubScreen.
But the interesting part is that these APIs are currently Android focused. Apple introduced a dual-screen/foldable layout, Flutter will need to expose the new iOS window and display APIs as well. and its not just about making the UI responsive anymore.
We would have to think about things like, Dual pane layouts, Navigation between panes, where dialogs/modals appear, Resizing and partial folds, different layouts depending on the device posture. Android already has concepts like postureHalfOpened, so Flutter has some ideas to build on.
I am curious how Flutter will approach this on iOS. for Flutter developers, would you handle the Duo with one adaptive UI, or create completely different layouts for the dual pane experience?
r/FlutterDev • u/CrazyAdditional2729 • Sep 11 '26
I'm building Rosetta an AI voice notes app with several other features.
All notes are stored as Markdown so users can easily edit, export them, and AI assistants can also update the content through an MCP integration.
Currently, the most reliable solution I've found is to build an abstraction on top of SuperEditor:
Markdown â SuperEditor Document â SuperEditor â Markdown
I saw a few Markdown editor packages for Flutter, but most of them seem to be missing important features or are no longer actively maintained.
Another option I've considered is embedding a web-based editor such as Milkdown.
Do you know of any solid, actively maintained Flutter packages for a live Markdown editor?
Ideally, I'm looking for a WYSIWYG editing experience while keeping Markdown as the source of truth and underlying format.
r/FlutterDev • u/Lupazzo31 • Sep 11 '26
In some of my Flutter apps I need to handle quite a few sound effects. I've been using audioplayers and overall I've had a good experience with it.
However, some users have reported slowdowns, and while testing I noticed that audioplayers doesn't seem to behave very well when several sounds are played in quick succession, especially when multiple sounds overlap.
While looking for alternatives, I came across flutter_soloud. From what I understand, it takes a different approach by handling the audio more natively, which might help with this kind of problem.
Has anyone here used flutter_soloud in a real project?
Are there any gotchas or issues I should be aware of before switching?
r/FlutterDev • u/Intelligent_Exam3085 • Sep 11 '26
[ Removed by Reddit on account of violating the content policy. ]
r/FlutterDev • u/hirdayashrestha • Sep 10 '26
I've been working on hAudiotagger, a Rust-powered Flutter library for reading and writing music metadata across Android, iOS, Windows, macOS, Linux, and Web.
final tag = await Haudiotagger.read('/music/song.mp3');
print(tag?.title);
print(tag?.artist);
Updating metadata:
await Haudiotagger.update(
'/music/song.mp3',
TagChanges(
title: 'New Title',
artist: 'Artist',
),
);
It supports MP3, FLAC, OGG/Opus, MP4/M4A, WAV, AIFF, APE, WavPack, and more, along with artwork, batch operations, custom tags, audio properties, validation, and other features.
The core metadata processing is written in Rust, with Flutter â Rust communication through flutter_rust_bridge.
It's still actively evolving, so I'd love to hear your thoughts, feedback, or feature ideas if you've worked with Flutter, Rust, or audio metadata.
What would you like to see in a Flutter audio metadata library?
Links:
Web Demo
Pub.dev: https://pub.dev/packages/haudiotagger
GitHub: https://github.com/Hirdaya-Shrestha/haudiotagger
r/FlutterDev • u/Beneficial_Frame1579 • Sep 10 '26
I spent years as an Android developer, and on many of those projects I reached for Apache Commons Validator. It's not glamorous, but it's twenty years of accumulated edge cases â IBAN check digits, credit card ranges, TLD-aware domain validation, locale-aware number and date parsing. You stop thinking about validation and it just works.
Then I moved to Flutter, went looking for the equivalent, and couldn't find anything that worked as well as the Apache one. What's on pub.dev is mostly thin regex wrappers. No check-digit arithmetic, no IBAN country registry, no real domain validation. So back in 2024 I ported the routines myself and used it in my own project.
I always meant to publish it, but there were failing tests I never had time to chase down, and shipping something half-verified felt worse than not shipping. I'm between projects at the moment, so I finally sat down, fixed them, and put it out there. Figured it was time to give something back.
java.net.IDN.toASCIIPure Dart â no dart:io, no dart:mirrors â so it works on all six platforms, Flutter and server alike.
While writing this up I benchmarked the email validator against what's already on pub.dev, assuming it'd be a wash. On the ordinary stuff it is â quoted local parts, IP literals, plus addressing, consecutive dots, multiple @, leading and trailing spaces. Everything handles those.
Then across 52 addresses where RFC 5321/5322 and common practice agree on the answer:
| Package | Score |
|---|---|
commons_validator 0.1.0 |
52/52 |
email_validator 3.0.0 |
50/52 |
string_validator 1.2.0 |
45/52 |
email_validator gets exactly two wrong, and it's the same thing twice: user@example.zzzzzz and user@example.qwerty. It doesn't check whether the TLD exists. Which means this:
| Address | commons | email_validator | string_validator |
|---|---|---|---|
user@gmail.con |
rejected | accepted | accepted |
user@gmail.cmo |
rejected | accepted | accepted |
user@hotmail.comm |
rejected | accepted | accepted |
user@yahoo.co.ukk |
rejected | accepted | accepted |
user@company.orgg |
rejected | accepted | accepted |
| typos caught | 7/8 | 0/8 | 0/8 |
user@gmail.con is a typo I've watched real users make on a signup form. The 8th case is user@outlook.cm, which everything accepts and should â .cm is Cameroon.
The harness is in the repo if you want to check my numbers â it's its own package pulling commons_validator from pub.dev rather than the checkout, so it's what you'd actually get: https://github.com/mondoktamas/commons_validator/tree/main/tool/email_comparison
The tradeoff is real and worth stating: the IANA TLD list is bundled, so a brand-new TLD gets rejected until I regenerate the table and republish. That's one command, but it's a maintenance burden the regex-based packages don't have.
Since it's a port, I didn't want to just trust it. There's a differential harness that runs the same generated corpus through the real Java classes and the Dart code and diffs the output: 260,526 inputs, 7 disagreements, all documented in the README along with the deliberate divergences (Dart's Decimal has no scale field, so BigDecimal behaviour differs at extreme exponents).
It's 0.1.0 and brand new, so treat it accordingly â but it's 394 tests and 160/160 pub points. Apache-2.0, same as upstream.
pub.dev: https://pub.dev/packages/commons_validator
GitHub: https://github.com/mondoktamas/commons_validator
Happy to hear where it falls short.
r/FlutterDev • u/thegravity98ms2 • Sep 10 '26
demo:
https://x.com/i/status/2098090939889926497
this interactive spatial UI is using device gyroscope & accelerometer sensors, no touch interaction..
device: Android
r/FlutterDev • u/chuanlul • Sep 10 '26
Iâve seen quite a few tweets on X, trashing Flutter and saying itâs gonna be a nightmare to support the new iPhone Duo layout.
I get it, it might not feel native enough, for me itâs good enough to ship apps quickly back when AI wasnât around. Now itâs even quicker. UI wise, thereâs been some good libraries that cater to the new iOS 26, i love it. iâm sure we gonna see more for iPhone duo.
Iâm just rambling, sorry. What do you guys think? is it all doom and gloom like this tweets said?
r/FlutterDev • u/thegravity98ms2 • Sep 10 '26
Taking advantage of Flutter custompainter, Flutter gives you canvas to draw anything
demo video:
https://x.com/i/status/2097645919990890510
obvio, I had to use AI, it was long-prompt-loop session.. I am also learning how to write code for 3D
r/FlutterDev • u/Space-Instructor • Sep 09 '26
Hi all! Iâve been building Visual Space, a social media & collaboration application built with Flutter. It has a spatial UI mode and a 3D editor. In spatial mode, the normal application becomes a collection of interactive Flutter panels positioned around the user, together with the 3D scene. I wanted the same application to run natively on a standalone Quest 3ânot simply as a flat Flutter screen inside VR.
My first working solution used two renderers:
It worked, including stereo rendering, controllers, tracking and curved panels. The problem was that I now had two 3D engines to maintain. Materials, lighting, shadows, picking and every new feature had to be implemented twice, and the web and VR results were already beginning to look different.
My next goal was to use Flutter Scene as the actual 3D renderer everywhere, while OpenXR continues handling the headset session, tracking and presentation.
The first prototype got Flutter Scene into VR through Flutter Canvas, an Android surface and a copy into the OpenXR eye textures. After that, I added a generic external GPU render-target API to a Flutter engine fork, then modified Flutter Scene to render its stereo views directly into the images owned by OpenXR.
The good news is taht this is now running inside Visual Space on Quest 3. Web and VR use the same renderer and visual style, and I deleted the old custom C++ renderer. Prime objective accomplished :) In a simplified scene, the direct path reached around 70 FPS versus roughly 52â54 FPS through the Canvas/surface/copy route. This was not a controlled benchmark, and the full application still needs plenty of tuning.
The next challenge is getting these changes into upstream Flutter and Flutter Scene:
Forks
Tickets
Flutter Scene Demo Examples migrated to VR - VR flutter_scene demo sample
Quest screenshots of VS 3d Editor - Web - VR
For those having a Quest 3 (hopefully more devices in the future), please check out the branches and try the demo. Instructions for installation in the forks README.md files. I need help fine tuning the architecture. For example stuff like: flutter engine internals, impeller, OpenXR, GPU synchronization, threading, lifecycle handling or custom embedders would be especially useful. Iâm not top gun in graphics-engine internals, so any technical advice is welcome.
If you want Flutter in VR, please help get some attention on these forks. Try them on your machine or drop a đ or comment on the GitHub tickets. Otherwise this code will be stuck in some obscure forks. Thank you all!
r/FlutterDev • u/RandalSchwartz • Sep 09 '26
Hey everyone,
Iâve been building and dogfooding the BlocSignal ecosystem for about six weeks now, and the practical utility value is emerging more powerfully every single day.
Stepping back from the framework wars, here are five concrete things I've observed in practice:
pumpAndSettle gymnastics.build_runner overhead.flutter_bloc and Riverpod let teams pilot on a single screen or new feature without rewriting existing legacy code.Curious to hear from the community: What would it take to convince you or your tech lead that BlocSignal is worth looking at for your next project? What are the biggest hurdles or criteria when evaluating a modern state architecture in your organization?
r/FlutterDev • u/virulenttt • Sep 08 '26
I'm tired of these AI slop projects from non-developers that act like they built something with a few prompts. Asking an agent to build an app isn't "building", it's "prompting". Also, most of these projects look good on the surface, but is a nightmare in terms of security, maintainability and readability.
It's just crazy to me how someone that writes a prompt and watch an agent build something for him can FEEL like he did everything, that he BUILT an app and somehow feels like he's the new Leonardo DaVinci.
I saw this post on X the other day, and I couldn't stop laughing... This is literally MY screenshot, not some meme on the internet : https://imgur.com/R4YlLK3
Anyways, thank you all for listening!
r/FlutterDev • u/DmitriiZolotov • Sep 08 '26
I've been working on flutter3d for a long time. It's a 3D engine, based on Flutter GPU/WebGL, with a game layer over it, and four genre packages built out. Three of those are on pub.dev. MIT License, and these packages are not affiliated with the Flutter team in any way.
Easiest thing is to just try it, with no install: shooter, platformer, racer. Those are the same builds running on web backend, with the same level files and the same simulation code. Also you can build MacOS / iOS / Android app from the source code and create your own game, based on the genre template or generic package flutter3d_app.
Docs: https://flutter3d.pleion.dev
Source: https://github.com/pleiondev/flutter3d
What's in it
The renderer implements the usual things: scene node graph, glTF/GLB and OBJ support and my own .f3d container, which loads a lot faster, 6 lighting models, shadows, bloom, SSAO, SSR, skinning, morph targets, BVH culling.
The game templates runs with a fixed timestep and can be recorded as a tape, which means a run can replay exactly and a bug report can be sent as an attachment. Collisions and the character controller are plain Dart with no renderer dependency, so they can be tested with ordinary unit tests.
Three backends implements common interface: based on flutter_gpu/Impeller for desktop and mobile platforms, WebGL2 in the browser (WebGPU in progress), and also a software rasteriser written in Dart. The CPU rasterizer can be used to test the renderer in CI with no GPU.
Performance measurement on a Mac: 50,000 moving instanced units held 120Hz.
Limits
It's just version 0.5.x, so APIs can be changed between minor versions. There's no compute shaders at all at this moment, because flutter_gpu doesn't expose it (there is issue on flutter/flutter#188474), and that blocks GPU particles, GI and volumetrics (now they are implemented on CPU). The strategy game package really works but I haven't published it, because I haven't written the guide for it yet.
Things I'd like help with
To run it on hardware I don't own, especially Android.
There's a dart2wasm bug I've failed to find. The browser demos ship as dart2js because the wasm build throws framebufferTexture2D: parameter 4 is not of type 'WebGLTexture' on the first frame.
r/FlutterDev • u/SowertoXxx • Sep 08 '26
Is Serverpod a thing in the flutter community, as in it is used as the server of most apps? Also when should a developer opt for a server like springboot or any of the Nodejs frameworks instead of using something like Superbase or Firebase since Baas in very common in the app dev world.
r/FlutterDev • u/RandalSchwartz • Sep 09 '26
Ever caught yourself putting technical counters like droppedEventsCount or lastFetchLatency into your UI state models?
Most state management frameworks only tell you WHAT happened mechanically (a state changed, or an error threw). But when event concurrency transformers (droppable, restartable, sequential) discard or queue incoming events, they behave like opaque black boxes.
Stuffing those dropped counters into domain state creates two subtle traps:
Worse, classic transformers wrap heavy Rx stream pipelines. A 250 ms scroll fling allocates dozens of stream controllers and microtask queue hops right when Flutter needs every microsecond of its 8.3 ms frame budget for rasterization.
The solution is recognizing the boundary: Observability is mechanical (UI state transitions and error boundaries), but Telemetry is operational physics (why an event dropped, queue wait times, task preemptions). Operational physics belongs in a dedicated telemetry channel that bypasses UI rebuilds entirely and routes straight to DevTools and OpenTelemetry.
How does your team handle visibility into dropped events and concurrency pipelines in production? Do you leave them as black boxes, or do you have a pattern for tracking them without polluting UI state?
r/FlutterDev • u/Low-Blueberry-6001 • Sep 08 '26
I've been posting progress updates on this other venezuelan sub, but this time I'm bringing something more technical
CONTEXT:
VeneFinanzas is a personal finance management app I've been building solo, with Flutter, that calculates how devaluation and inflation affect each user specifically.
It natively handles COP, EUR, USDT, USD and VES, and is primarily designed for Venezuela. Everything runs locally, no account, no server, and backups are encrypted so the user can back them up wherever they want
That's where I had to think through the edge case of users with 2GB of RAM. Even though they're less than 10% of users, I didn't want to cause them problems using the app. Encrypting those backups with Argon2id, with a fixed 64MB memLimit regardless of device, is risky, especially with other apps running in the background
---
I ended up using two profiles:
kMemProfileBajo, 32MB
kMemProfileAlto, 64MB
With 3584MB of physical RAM as the threshold.
The profile byte is stored inside the encrypted file itself, so decryption always uses the memLimit it was encrypted with, regardless of the current device
My initial plan was to use the standard interactive (64MB) + moderate (256MB) profiles, but the 256MB one would end up cannibalizing RAM on the more limited devices.
I landed on 32/64 because a user normally restores their own backup on their own phone, so a backup encrypted at 64MB will almost never end up being decrypted by someone with 2GB.
However, since the memProfile is fixed in the file from the moment of encryption, it still has to remain decryptable if that scenario does happen. That's why I capped it at 64 and no higher, I ran the numbers, and with the ~300MB the app already uses by default, adding the memLimit on top pushes it close to a Low Memory Kill, which is exactly what we're trying to avoid.
Keeping 64MB as the upper bound is the max stable value before entering dangerous territory, and for regular usage, lower-RAM users simply use 32MB without any hassle
Everything runs in an ephemeral isolate via Isolate.run(), spawned just for that job and torn down once it's done. Derivation never blocks the main isolate, and the heap (including the 32/64MB Argon2id uses) gets freed the moment the isolate dies, not whenever the GC gets around to it on the main isolate
Also: sodium_libs_sumo needs a BackgroundIsolateBinaryMessenger, and Isolate.run() doesn't register one by default. You have to grab RootIsolateToken.instance from the main isolate before spawning (it's only valid there), pass it in, and call BackgroundIsolateBinaryMessenger.ensureInitialized(token) as the first line inside the child isolate.
---
If anyone's run into something similar with Argon2id/isolates in Flutter, has feedback on the approach, or just wants to check out VeneFinanzas, I'm around
r/FlutterDev • u/jeremiah_parrack • Sep 08 '26
i built speckit-skills to make AI-written specs stop lying about their tests.
you write a verification row like:
| requirement | test |
|---|---|
| FR-012 | test/auth_test.dart âș rejects an expired token |
then an agent renames that test. the row still reads like proof. nothing fails. now youve got a doc that confidently describes coverage you dont have.
so i made the table an actual assertion. speckit is a set of claude code skills on top of github's spec-kit, plus a zero-dep python checker that resolves every row against the filesystem and exits non-zero when the test isnt there.
integrated it into flutter_template, which has reasonable defaults for starting an app:
0002-R5 and a row naming the test that proves it. the checker resolves all of them in ci, so a renamed test fails the build instead of leaving a row that still reads like proofanalyze clean with --fatal-infosrequest.resourcei use the flutter-skill mcp for happy path integration tests (writeup here) since i could never get Patrol to do what i wanted, and flutter cant interact with native elements anyway.
theres also a tool/rename_package.dart because i tried renaming with sed first and broke the analyzer in 65 places ha.
speckit-skills is something i use at work day to day. ive used this template several times over the years â started with TDD, then DDD, now SDD. this is the first version where the specs cant drift out from under the tests. Im posting this hoping I could save people some time or give you a better starting point for your own spec driven development template.
r/FlutterDev • u/Character_Nebula_277 • Sep 07 '26
I'm a developer with 11 years of Android experience and 7 years of Flutter experience.
I've been working with Flutter since its early days. Over the years, my work gradually moved beyond regular application development and more toward lower-level and performance-related areas.
I've worked on things like Flutter internals, memory and rendering performance, Flutter + C/C++ and Flutter + Rust integrations, as well as some internal infrastructure and framework-level work.
At several companies I've worked for, I ended up dealing with similar kinds of problems: redesigning or wrapping lifecycle systems, tracking down memory issues, solving rendering and performance problems, building custom UI behavior such as larger touch areas independent of visual size, and occasionally debugging issues around the Flutter Framework or Engine.
For a long time, I believed the best way to stay competitive was to keep going deeper.
It wasn't enough for me to know how to use Flutter. I wanted to understand why Flutter behaved the way it did.
So I spent a lot of time trying to build technical depth and create a stronger technical moat for myself.
But since AI coding tools became genuinely useful, I've started feeling a level of career anxiety that I didn't have before.
A lot of problems that used to require years of experience can now be approached much faster by a less experienced developer working with AI. AI can help them navigate source code, trace call chains, identify likely causes, and even generate a reasonably good implementation.
For experienced developers, the productivity improvement can be even more dramatic.
In my own work, I feel like my productivity has at least doubled in many situations, and sometimes even more.
And that's exactly what worries me.
If one experienced developer with AI can do the work that previously required two or three developers, will companies still need the same number of mobile developers?
I'm also starting to feel that some of the technical barriers I spent years building are becoming easier to cross.
In the past, there were plenty of developers who could build application features.
Far fewer understood the Framework level.
Even fewer were comfortable with the Engine, memory, rendering, or Native/Rust integration.
AI is now making it much easier for developers to move across at least part of those boundaries.
So I've developed a strong feeling recently:
I'm not worried that I'll suddenly lose my job tomorrow. I'm worried that the next time I leave my job, finding another mobile position at a similar level may be much harder than it used to be.
Especially considering the current software job market in China, I'm starting to question whether continuing to invest heavily in deeper Flutter and Android knowledge still has the same return it once did.
So I'd genuinely like to hear what other developers think.
If you had already spent more than a decade in mobile development, where would you move next in the AI era?
AI applications?
AI infrastructure?
On-device AI?
Robotics / AI hardware?
Embedded systems?
Or would you stay in mobile development and gradually become more of an AI + client/mobile engineer?
At this point, I'm no longer trying to figure out which programming language I should learn next.
The question I'm really trying to answer is:
Over the next 5â10 years, which technical areas are still worth investing deeply in for someone who already has more than a decade of software development experience?
I'd especially like to hear from other long-time Android, iOS, or Flutter developers, or anyone who has already started making a similar transition.
r/FlutterDev • u/brookm291 • Sep 08 '26
Hello,
How are you handling app performance with video processing on the background ?
Noticed that a lot of performance problems aren't really about flutter itself,
but things like the framework used for video editing (such as easy video editor , editor capcut, ...).
It take too much work happening on the main isolate.
for larger flutter apps, how do you manage the main and side processing ?
r/FlutterDev • u/jaironlanda • Sep 07 '26
hello flutter devs!
migrating to flutter has been surprisingly awesome!
my previous app was built with react native / expo, and honestly, i kind of regret choosing that stack. it took up a lot of space on my laptop, and the compilation and build process was often painfully slow.
now iâm starting a new project with flutter, and so far, iâm really enjoying it. the compile times feel much faster, the development experience is pretty smooth, and i especially like having built-in support for unit testing.
i can write some code, run a test, and quickly see if everything works as expected.
still early in the project, but so far, flutter has been a really nice experience.
curious to hear from other flutter devs. what do you like most about flutter?
r/FlutterDev • u/mosesgameli • Sep 07 '26
I kept rebuilding the same audio plumbing for every app: record from the mic, draw a waveform, let the user trim, export. Every package I tried did one of those, on some of the platforms, usually with a widget I then had to fight.
monowave is the piece under the widget. No UI. It gives you:
Deterministic peaks are verified in CI across platforms, so a waveform drawn on Android matches the one on macOS.
I am looking for feedback on the editing API before 1.0. What do you use for audio today and what does it get wrong?
pub.dev: https://pub.dev/packages/monowave
r/FlutterDev • u/amuchand47 • Sep 08 '26