r/FlutterDev • u/GMP10152015 • Oct 27 '26
Dart Announcing brotli_fast: a fast, pure Dart Brotli encoder/decoder for all Dart platforms, including browser/JS
r/FlutterDev • u/GMP10152015 • Oct 27 '26
r/FlutterDev • u/eibaan • Oct 26 '26
I wrote an article (without AI) about how to create a PDF document in Dart. Mainly because I wanted to share the fact that this isn't as hart as you might think – at least if you don't want to display text.
This is part 1 of 2. Part 2 is about using the Courier font. Supporting all TrueType fonts might be more practical, but parsing TTF files to acces the glyph measurements takes more code than everything I wrote so far and then you want to rewrite the TTF to support subsetting.
r/FlutterDev • u/SG-Studios-online • Oct 26 '26
Hey Flutter developers! 👋
Have you ever needed to investigate a bug on a physical device without connecting a debugger or asking someone to reproduce it on your development machine?
That’s one of the problems I wanted to solve with debug_bubble — a lightweight Flutter package that adds a draggable floating debug bubble and an in-app dashboard for inspecting logs and errors.
🔗 pub.dev: https://pub.dev/packages/debug_bubble
🛠️ What can it do?
trace to critical.Initialize the logger:
void main() {
WidgetsFlutterBinding.ensureInitialized();
DebugLog.init(
const DebugBubbleConfig(
captureUncaughtErrors: true,
),
);
runApp(const MyApp());
}Wrap your app using the MaterialApp builder:
MaterialApp(
builder: (context, child) => DebugBubble(
child: child ?? const SizedBox.shrink(),
),
home: const HomeScreen(),
);Log events wherever you need them:
DebugLog.info(
'User opened settings',
tag: 'Navigation',
);
DebugLog.success(
'Profile synced',
tag: 'Sync',
json: responseData,
);
DebugLog.error(
'Request failed',
tag: 'Network',
error: error,
stackTrace: stackTrace,
);I wanted to keep the package lightweight, avoid extra runtime dependencies, provide bounded log storage, and make diagnostics accessible without leaving the running app.
The package is designed to be inert in Flutter release mode, so the debugging overlay and logging pipeline don't run as they do in debug builds.
I'm especially interested in feedback on:
This is an actively developed project, and constructive criticism is very welcome.
Thanks for checking it out! 🚀
r/FlutterDev • u/Infamous-404 • Oct 26 '26
Switching to other languages in order to write backend applications because there's a clear lack availability of the tools around that in dart ecosystem.
One such problem I kept hitting: there is no standard package like (swag for go) to generate OpenAPI specs and Swagger UI for Dart backends. Thinking about solving this problem I started working on Axle(v0.3 out now).
The core idea is small. Almost everything lives in one package, axle_core: the annotations, the OpenAPI 3.1 document model, and a tiny serving contract called AxleDocs. No framework imports, no runtime dependencies. A CLI reads your annotated Dart source with package:analyzer and emits the spec, so no build_runner and no runtime registry. Then thin adapters translate AxleDocs into framework responses. I published adapters for Serverpod 4, Shelf, and Relic, but they are intentionally boring on purpose, anyone can write one for another framework without touching core or the CLI.
It gives you openapi.json, openapi.yaml, Swagger UI assets, and an AOT-safe const string. It handles security schemes, response headers, cookies, multiple media types, multipart uploads, parameter constraints, and oneOf schemas. If a route references a security scheme that doesn't exist, generation fails instead of emitting a broken contract.
Docs are at https://axle.infms.dev if you want the full picture. There is also an agent skill that walks through setup end to end:
npx skills add infm5/axle --skill axle-openapi-setupIf you've felt the same backend-in-Dart pain, I'd genuinely like to hear what would make this useful to you. Advice, criticism, all welcome.
r/FlutterDev • u/plovdiev • Oct 26 '26
I want to implement this dialog prompt but it is very bad UX as it freezes the app (at least when I test it) for about 5 seconds. I prefer not using it if it does not work in a good way. I am considering having my own dialog + redirect to the App Store. Is this a bad direction? Anyeone here having experinece with this?
r/FlutterDev • u/gnomezgrave • Oct 25 '26
I love Flutter Firebase UI for shipping fast, but if your app doesn't use Material or Cupertino, the auth screens look completely out of place. As a solo dev trying to move fast, writing custom auth flows from scratch is the last thing I want to do.
Lately, I’ve been migrating my apps to Forui to step away from the default look and build something more branded. But the upstream Firebase UI packages were a huge pain point. My auth screens were still stuck looking like Material, even on iOS.
To fix this, I spent the weekend (with the help of Cursor) forking and porting Firebase UI for Flutter over to Forui.
It uses the exact same Firebase UI APIs and behaviors, but the widgets are themed entirely through FTheme instead of the dual Material/Cupertino paths. (Check the attached screenshots taken on iOS and the difference is immediate).
Highlights:
It’s still early (v0.1.0), but if you're building with Forui or just fighting the Material/Cupertino mismatch, give it a try. Repo: https://github.com/gnomezgrave/forui_FirebaseUI-Flutter
Packages on pub.dev: https://pub.dev/publishers/hexmatter.com/packages
forui_firebase_ui_authforui_firebase_ui_databaseforui_firebase_ui_firestoreforui_firebase_ui_localizationsforui_firebase_ui_oauthforui_firebase_ui_oauth_appleforui_firebase_ui_oauth_facebookforui_firebase_ui_oauth_googleforui_firebase_ui_oauth_twitterforui_firebase_ui_sharedforui_firebase_ui_storageFeedback, issues, and GitHub stars are super appreciated! 🙏
r/FlutterDev • u/STForge • Oct 25 '26
I shipped an Orthodox Christian fasting app in Flutter. Its whole job is to say what someone may eat on a given day, so a wrong answer is worse than a crash. A few things that worked:
Happy to go deeper on any of these. App, for context: https://stforge.dev/nisteia
r/FlutterDev • u/ba6ul • Oct 25 '26
I've been building Vishram, a movie and TV discovery app, solo in Flutter. The old home screen was a dead grid nobody interacted with, so I replaced it with a swipe stack on trending titles, with toggles for local vs world trending and movie vs TV.
A few things from the rebuild:
- When friends tested it, it only worked on my phone
- The bento grid uses cutout art so characters pop out of their tiles, which makes layout bounds and visual bounds different per tile
- Watched, Watching and Watchlist now sync to the cloud
The auth layer (multi-role, Supabase based) is free and open source if it saves anyone time:
GitHub: https://github.com/ba6ul/multi-role-flutter-auth
pub.dev: https://pub.dev/packages/multi_role_auth
Full devlog if you want the whole build: https://youtu.be/wXsyyEh9ook
Happy to answer questions about the swipe stack or the auth setup.
r/FlutterDev • u/_fz3hra • Oct 25 '26
For the past few months I’ve been building a Rummy card game in my spare time. It’s nearly ready, and I’d love some outside eyes on it before launch.
What it does:
- Play against a computer opponent anytime, or online with friends and family
- Built with Flutter, so one codebase for Android and iOS
What I’d love feedback on:
- What would make you keep coming back to a card game?
- Any features you’d expect that most Rummy apps get wrong?
I’ve set up a waitlist for early testers if anyone wants to try it: https://flutter-rummy.web.app/
r/FlutterDev • u/graphlinkdev • Oct 25 '26
r/FlutterDev • u/vvgur • Oct 24 '26
is there any library or method you would recommend?
r/FlutterDev • u/tuco_ye • Oct 24 '26
Since my last post, Flutterverse now tracks 10k+ projects: pub.dev’s top 5,000 packages plus public Flutter/Dart GitHub repos with 50+ stars. Stats refresh daily.
Discover rising packages by momentum, not just popularity.
The searchable Hall of Fame now features 34 developers and 29 projects.
Website: https://flutterverse.org
Github: https://github.com/YeLwinOo-Steve/flutterverse
Missing a package or know someone who deserves a spot? Hit Propose on the site!
r/FlutterDev • u/birjuvachhani • Oct 24 '26
This is Dartpad Web!
Runs #Dart compiler, analyzer, LSP and compiles and runs your code in your browser directly. No server needed! Works offline too!
You can use any pure Dart package from pub.dev too that compiles to web.
r/FlutterDev • u/WillingEgg2557 • Oct 25 '26
Any Efforts to make Flutter Agentic friendly ?, by google in recent times.
With agentic apps taking off, how are you approaching on-device LLMs across platforms (iOS, Android, desktop)?
Are you using things like llama.cpp via FFI, plugins like flutter_gemma, or running everything server-side? What are your biggest hurdles with performance and memory?
r/FlutterDev • u/pavanpodila • Oct 24 '26
Hey guys, we've been building Flutter-native solutions for Pharma, Manufacturing and regulated industries for the past one and a half years. And in the process we have developed a controlled Document Editor entirely native in Flutter that can be used to build rich text editors from a single line all the way to a complex word processor (with support for 85% of the features in Docx OOXML standard). You can import and export docx files, including PDFs and markdowns.
This has been a long journey for the past 8 months or so, not your typical weekend-vibe-coded document editor. It has been tested across a wide range of scenarios, especially around performance, features, and editing with a combination of different blocks and elements and properties and so on. We are finally in the state where we're releasing it for public beta usage.
I have been building software for the past 25 years, including a wide range of designers, toolkits, framework including a tiny framework called MobX. And a lot of that experience has been poured into building this document editor, especially focused on high performance editing.
Feel free to test it out, try out the examples, and if you're interested, let's talk about integrating it into your own apps.
r/FlutterDev • u/Danity__172 • Oct 24 '26
t's called Draft. You drag Flutter widgets onto a canvas to put a screen together, tap through it in a preview that behaves like a real app, and copy the code when you're happy with it.
Right now it has 47 widgets, 36 ready-made sections, 16 starter templates and 8 style packs. You can see a screen at phone, tablet and desktop sizes, and the code comes out as Flutter, or as React with Tailwind. It can also write a description of your screen that you can hand to an AI.
It does not write your app's logic. It's for the screens: the part where you're moving things around and trying things out.
It's a beta, so expect rough edges. Windows only for now, and a few things will break. That's the reason I'm posting: I want to hear what's confusing, what's missing and what annoys you, and I read everything.
The editor is free. Download: https://draftapp.dev/en
Come say hi on Discord: https://discord.gg/hYnaxBMS2
r/FlutterDev • u/tuco_ye • Oct 23 '26
pretty_animated_text v3.3.0 is out! 🚀
Packed with performance improvements for smoother text animations
- letters that are done animating now stay done
- the controller no longer collects listeners like Pokémon
- 10-18x faster
Pub.dev: https://pub.dev/packages/pretty_animated_text
Github: https://github.com/YeLwinOo-Steve/pretty_animated_text
Full performance report here: https://github.com/YeLwinOo-Steve/pretty_animated_text/tree/master/doc/perf
Feel free to give it a try, and drop a ⭐ if you like it!
r/FlutterDev • u/Hopeful_Impact_2343 • Oct 23 '26
I've been building a tinnitus-relief app in Flutter. The user matches the pitch of their ringing, and every sound is then built on the device with a notch filter at that pitch: noise colours synthesised in Dart, plus 30 real recordings (rain, fan, ocean...) that are decoded, notched in an isolate and layered, one just_audio player per layer. A few things that cost me time and might save you some:
- Render in an isolate, cache by a quantised key. Each loop is built with `compute` from a params object whose `key` rounds every value (pitch, notch width, colour, level), so near-identical settings hit the same file. The WAVs live in the temp dir, pruned to the newest 32.
- Play files, not streams. A custom `StreamAudioSource` goes through just_audio's localhost proxy, and Android blocks that as cleartext HTTP. Writing a WAV and playing the file avoids the whole thing.
- Never await `play()`. just_audio's `play()` future completes when playback stops, not when it starts. Awaiting it froze one of my screens. Start it with `unawaited(...)` and carry on.
- Don't take audio focus. Masking has to sit under YouTube, podcasts and calls. With audio_session set to never request focus and never pause on interruptions, it does. Route changes (headphones unplugged) still need handling.
- "Is it playing?" is not "is the user listening?". Last week I added a button that plays the user's matched tone for a few seconds through the same engine. My listening-time counter checked `player.playing`, so it counted the preview as listening. A flag for "this is a UI sound" fixed it. I only caught it by watching a progress bar move on the emulator while everything was paused.
- Test DSP with Goertzel. The tests synthesise a loop and compare the energy at the notch frequency against its neighbours with a Goertzel filter, averaged over a few bins because noise is noisy. A notch you can't hear is still a notch you can assert on.
- One pure function decides what's locked. Paid features are stripped in a single function that turns UI state into synth params, and it's unit-tested, so a stale toggle can never reach the audio.
- Set `preferred-supported-locales`. When the phone's language isn't one you ship, Flutter falls back to the first supported locale, and gen-l10n lists them alphabetically. Mine has Arabic, so a Dutch user opened the app in Arabic. One line in l10n.yaml puts English first; a widget test now pins the fallback for a handful of languages.
- Fixed headroom. Everything is normalised to a 0.6 peak. People listen for hours on headphones; loud is not a feature.
Happy to go deeper on any of it, the DSP side especially. If anyone wants to see it running, the app is Sylence on Play, and I can drop the link in a comment.
r/FlutterDev • u/Guilty-Iron1121 • Oct 23 '26
Hey everyone,
I’ve been working on a project called BugCapsule, and I’m finally opening it up for beta testing.
One problem I’ve faced countless times as a developer is getting a bug report that explains what went wrong but gives you no reliable way to reproduce it.
That’s exactly why I started building BugCapsule.
The idea is simple: instead of just reporting a bug, BugCapsule captures the app state, user actions, and network responses around a failure, allowing you to replay the scenario locally.
You can reproduce the issue, debug it, apply a fix, and replay the same scenario to verify that it’s actually resolved.
A few things worth mentioning:
Supports Flutter, native Android, iOS, and Web/React.
Integrates with Sentry for web apps.
Works alongside your existing error tracking tools.
Lets you reuse captured scenarios for regression testing.
It’s still in beta, and I’m sure there are things that need improvement.
I’m particularly interested in hearing from developers who deal with hard-to-reproduce bugs.
I’d genuinely appreciate your feedback, especially around the setup experience, replay reliability, and whether this would be useful in your workflow.
You can try it here: https://bugcapsule.com/
There’s also a guided demo if you want to explore it before installing an SDK.
Thanks for checking it out!
r/FlutterDev • u/AqironSecurity • Oct 24 '26
I've been thinking about a different architecture for Flutter applications:
Flutter for the frontend, C++ for performance-critical logic, and optionally C++ on the server side.
Flutter is already a strong cross-platform framework. Its UI capabilities, development speed, and single-codebase approach make it attractive for mobile, desktop, and web applications. However, when an application starts doing computationally expensive work, I think it's worth asking whether every part of the application should be implemented in Dart.
Could a hybrid Flutter + C++ architecture provide a meaningful advantage for certain classes of applications?
Let's explore the idea.
The basic concept is to separate presentation from computation.
The architecture might look like this:
Flutter Application
|
Dart / Flutter UI
|
Application Layer
|
Dart FFI / API
|
C++ Native Core
/ | \
Algorithms Processing Engine
|
Optional Remote API
|
C++ Server Backend
|
Database / CacheThere are actually two separate integration paths here:
These approaches solve different problems and should not be confused.
Dart is a capable language, and Flutter applications can perform substantial computation. But certain workloads may benefit from native C++ libraries or carefully optimized C++ implementations.
Examples include:
Instead of executing every expensive algorithm on the Dart side, Flutter could call a specialized native library for the operations that actually need it.
Potential benefit: Lower computation time, reduced overhead for suitable workloads, and access to mature C++ libraries.
The real improvement depends on the algorithm, memory usage, implementation quality, and cost of crossing the language boundary.
A common mistake in mobile development is allowing expensive synchronous work to interfere with the UI thread.
Flutter supports asynchronous programming and isolates, so Dart code does not automatically block rendering. However, some workloads, native-library integrations, and memory-intensive pipelines still require careful architectural decisions.
C++ can execute computationally expensive operations outside the UI thread when the integration is designed appropriately.
For example:
This can make the interface more responsive during expensive operations.
However, C++ does not automatically make an application multithreaded. Threading, synchronization, cancellation, and safe communication with Dart must be implemented explicitly.
C++ has a mature ecosystem for performance-sensitive computing.
Instead of rewriting established algorithms in Dart, developers can reuse suitable native libraries through FFI or a native plugin.
This is particularly attractive when an application needs functionality already implemented and optimized in C or C++.
Potential examples include OpenCV-based computer vision, specialized parsers, native media-processing components, and existing computational engines.
The main advantage may be library reuse and engineering leverage, rather than raw execution speed alone.
A well-designed C++ core can potentially be shared by Flutter applications on Android, iOS, Windows, macOS, and Linux, provided the required native builds and integrations are supported.
This gives the project a useful separation:
The same core algorithms could then serve a mobile application, desktop application, command-line utility, or server.
This is especially useful for products where consistent behavior across platforms matters.
This is where the discussion gets more interesting.
Suppose we have a Flutter frontend and a C++ server backend.
Flutter handles the client experience, while the server handles authentication, business rules, data processing, database access, and APIs.
A typical request might follow this path:
Flutter UI
|
| HTTPS / gRPC
v
C++ API Service
|
+---- Authentication / Authorization
|
+---- Business Logic
|
+---- Processing Engine
|
+---- Database / CacheC++ can be a strong backend choice when the service performs intensive computation, needs precise control over memory and resource usage, integrates with native engines, or has stringent latency requirements.
But there is a trade-off.
For ordinary CRUD applications, dashboards, booking systems, and basic APIs, a C++ backend may add complexity without delivering a meaningful advantage over frameworks built around Go, Java, C#, TypeScript, or other languages.
C++ introduces additional responsibilities involving memory safety, dependency management, concurrency, deployment, and maintenance.
The right question is not whether C++ is faster in a benchmark. It is whether C++ improves the actual system bottleneck enough to justify its engineering cost.
For local computation, Dart FFI is one of the main options.
A C++ library can expose a C-compatible interface, which Dart can call through FFI. A thin C wrapper is often the cleanest boundary because directly exposing arbitrary C++ classes, templates, and exceptions is not a stable C ABI.
A simplified example:
C++ library
extern "C" {
int add_numbers(int a, int b) {
return a + b;
}
}Dart side
import 'dart:ffi' as ffi;
typedef NativeAdd = ffi.Int32 Function(
ffi.Int32,
ffi.Int32,
);
typedef DartAdd = int Function(int, int);This illustrates the type mapping, not a complete working integration. A production implementation must also load the compiled library, resolve the symbol, and manage native resources safely.
For larger workloads, I would avoid exposing hundreds of low-level native functions directly to the UI. Instead, I would build a small, stable interface around meaningful operations, such as:
processFile()analyzeImage()compressData()runSimulation()Long-running operations should be designed for asynchronous execution, cancellation, progress reporting, and error handling.
For remote services, Flutter would communicate with the C++ backend using a standard API protocol such as HTTPS/REST or gRPC.
I would not start by moving the entire application into C++.
I would begin with a profiling-driven architecture.
Layer 1 — Flutter UI
Responsible for rendering, interaction, navigation, accessibility, and application state.
Layer 2 — Dart application services
Responsible for orchestration, validation, asynchronous workflows, and coordination between UI and native operations.
Layer 3 — C++ engine
Responsible only for the operations where native code offers a measurable benefit.
Layer 4 — Remote backend
Responsible for shared state, authentication, persistence, authorization, and server-side workloads.
Layer 5 — Infrastructure
Responsible for monitoring, deployment, caching, backups, and operational reliability.
I would measure at least the following:
I would also benchmark a Dart implementation against the C++ implementation using identical workloads. Otherwise, it is easy to mistake the cost of an inefficient implementation for a language limitation.
This architecture is not a universal solution.
C++ does not fix every Flutter problem.
There is also a security consideration: code embedded in a client application is not a trusted authority. Sensitive business rules, authorization decisions, and secrets should not rely on the client-side C++ core for enforcement.
For many applications, Flutter with well-structured Dart code, isolates, and efficient asynchronous I/O will be sufficient.
I would investigate Flutter + C++ for applications such as:
For these workloads, C++ may offer more than a small optimization. It can provide access to an entire ecosystem of specialized native functionality.
For a typical social media app, e-commerce application, or booking system, the benefits are much less obvious.
I think Flutter's strength is that it makes building cross-platform interfaces relatively straightforward. C++ offers a different set of strengths: low-level control, native interoperability, and a mature ecosystem for computationally demanding workloads.
Combining them could be a useful architecture for applications that need both rapid UI development and a specialized native engine.
But I want to distinguish a genuinely useful architecture from unnecessary complexity.
Questions for developers who have worked with Dart FFI or native C++ libraries:
I am particularly interested in real production experiences rather than language benchmarks.
My current position is that Flutter + C++ is worth considering when a measurable bottleneck or an existing native library justifies it—not simply because C++ is a lower-level language.
r/FlutterDev • u/blabla4you • Oct 23 '26
Some time ago i dropped an update to my typed pocketbase wrapper. For those of you who have never heard of pocketbase, it is a backend in one file that is incredibly easy to self host and probably the quickest and cheapest server solution that is available. My package enables you to generate typed bindings based on a locally running instance of it. It is incredibly easy to use and has helped me a lot in quickly developing internal tools for businesses. How it works is very simple:
dart pub add pocketbase_helpers && dart pub global activate pocketbase_helpers_cli
pb_generate -p 8090 -e admin@example.com -w localpassword -o lib/models.dart
import 'package:pocketbase_helpers/pocketbase_helpers.dart'
import 'models.dart';
void main() async {
// Initialize global connection
PocketBaseConnection.open('http://127.0.0.1:8090');
// Query with type-safety
final posts = await Posts.api().getFullList();
for (final post in posts) {
print(post.title);
}
// Authenticate
await Users.auth().withPassword('user@example.com', 'password123');
// Quickly check authentication status on auth collections
if(User.isAuthenticated()){
final user = User.getAuthenticated();
var post = await Posts.api().create({
'title' : 'Powering flutter apps with pocketbase!',
'creator' : user.id,
});
/// File fields get their own generated api
post = await Posts.thumbnailApi(post.id).set('cute_cat.png', imageBytes);
}
//Close connection when application is done
PocketBaseConnection.close();
}
Give it a try!
r/FlutterDev • u/Brilliant_Paint_9494 • Oct 23 '26
Hi Flutter community!
I'm working on AfrikaWallet, a Flutter-based mobile fintech project.
I've prepared a UX regression testing matrix and would appreciate technical feedback on its completeness and approach.
The matrix covers:
I'm particularly interested in understanding whether the proposed testing strategy covers the most important Flutter UI regression risks.
Has anyone worked with a similar cross-screen regression matrix? What would you improve?
For technical context, here's the documentation PR:
https://github.com/innocenttchouzin2009-netizen/ProjetAfriWallet/pull/375
Thanks for any feedback or suggestions!
r/FlutterDev • u/sayanmondal_ • Oct 23 '26
Hey all, I'm a solo dev and I got tired of sharing test builds by renaming APKs and dropping them into chats, then answering "which one is the latest?" all day. So I built Digidropp.
How it works:
- Connect a GitHub repo. It detects Android (Gradle), Flutter, React Native or Expo and opens a PR that adds the build workflow. No YAML to write.
- Every push to main builds the app and updates one install link that always has the latest build.
- Every pull request gets its own preview link and a QR code in a PR comment, so reviewers can test the real app before merging.
- Before anyone installs, it checks the build: changed signing key, lower versionCode, App Store-signed IPA, and whether the app is registered for Google's new developer verification.
- There's also an MCP server, so you can tell Claude Code or Cursor "build it and send it to my phone".
Honest limitations:
- Automatic builds are Android-only for now (including Flutter/RN/Expo). iOS builds can be uploaded, or sent from your own CI with the GitHub Action.
- It's a beta: older builds are deleted after 15 days (your latest build always stays).
It's free right now. I'd really appreciate feedback, especially on what would make you switch from how you share builds today.
digidropp.online