r/FlutterDev • • 2d ago

Example uikit_liquid_glass: real iOS 26 Liquid Glass in Flutter (native UITabBar + UIGlassEffect), with a Dart fallback

Thumbnail
github.com
23 Upvotes

I made a small package that hosts Apple's own UITabBar and UIGlassEffect inside Flutter as platform views, so on iOS 26 you get the real glass: the lens, refraction and press-lift, not a shader imitation. On Android, web and older iPhones it falls back to a BackdropFilter look-alike with the same API.

What I found along the way:

- The native glass does refract the Flutter content under it.

- Give the tab bar slot extra height: UIKit draws the rim outside the bar's bounds.

- Native views follow the system light/dark, not your app theme, so the package passes your brightness in.

- It is right-to-left ready (I'm Arabic-speaking, so that mattered).

pub.dev: https://pub.dev/packages/uikit_liquid_glass

GitHub: https://github.com/yahyakhalid/flutter-uikit-liquid-glass

Free and MIT licensed. The repo has a step-by-step guide if you'd rather copy the ~200 lines than add a dependency. Feedback welcome!


r/FlutterDev • • 2d ago

Plugin I built an open-source network inspector for Flutter. What's missing?

Thumbnail
pub.dev
1 Upvotes

Hi everyone, I'm the author of chucker_flutter_plus, an open-source (MIT) package that lets you inspect your app's HTTP traffic directly on the device.

It captures requests from Dio and package:http. Chopper is supported by the console logger only.

What it does:

- Shows headers, bodies, status codes, sizes and timings

- Compares two requests side by side

- Shows average and P95 latency, plus error rates

- Copies a request as cURL

- Previews image and video responses

- Redacts common sensitive headers, query parameters and body fields in structured data (please still check what your app logs)

- Offers optional encryption for local history

- Has a mode for apps that already initialize flutter_local_notifications

It requires Flutter 3.44 or later. Capture is off in release builds unless you enable it.

Demo: https://youtube.com/shorts/DIOcn0NdYxY

pub.dev: https://pub.dev/packages/chucker_flutter_plus

GitHub: https://github.com/mohammed28ali/chucker_flutter_plus

It's still new, so I'd value honest feedback:

  1. What's missing from the network inspector you use now?
  2. What would stop you from trying this one?

Bug reports are very welcome.


r/FlutterDev • • 2d ago

Discussion Database solutions

1 Upvotes

Hi,

I'm a flutter developer experienced with both cross platform and native applications development..

For 5 years I've been using Sqlite (android native) and sqflite (flutter) as my main database go to packages.. I'm kinda tired of hand writing sqlite quarries and I understand how frustrating it is to have a typo in a long quarry (I know we have AI now) or to actively maintain it.

I know we have a lot of non-sql solutions but they mostly use build runner and auto generate files to translate code properly and it feels mostly heavy and lacks a lot on optimization side.. So I'm starting my own package.. I want to understand what are your biggest issues with current packages.. What's your experience with them.. What do you think is a big downside that will make you switch from your current "go to"?

I'd love to hear from you!


r/FlutterDev • • 2d ago

Dart How to speed up the first question after tapping "Play" in Flutter ?

0 Upvotes

I’m building a Flutter app with Supabase. When someone taps Play, the app checks access, then loads a batch of questions. On an iPhone, the first question is readable after about 1.4 s with a warm server function or 2.2 s on a cold call. Most of that time is spent waiting for the two requests.

Running two database reads in parallel made that step faster. The numbers above are after that change. The server still needs to control access and count usage when Play is accepted.

If you’ve improved a similar flow, what made the biggest difference? Would you combine the requests first, or is there something on the Flutter side worth profiling?


r/FlutterDev • • 2d ago

Article I was reading this guide to fix production bugs in Flutter based apps using Coding agent

Thumbnail
measure.sh
2 Upvotes

This guide covers how you can investigate the application bug using production evidence via your coding agent.


r/FlutterDev • • 2d ago

Example Hey guys

0 Upvotes

I've recently been having trouble creating the UI for my multi-provider AI app. Could someone recommend a template or something similar to help me?


r/FlutterDev • • 2d ago

Article Cutting down our Vyuh Document Wasm build from 6.6 MB to less than 3 MB

14 Upvotes

We have been building a full-fledged, high-performance Microsoft/Google Docs-grade document editor for the past 8-9 months.

In the last week, we did a dramatic reduction in our WASM build of the complete document editor, from 6.6 MB to less than 3 MB, and we had to go through a series of steps to make that happen. Of course, a lot of it was AI-assisted, but the idea was to apply the science correctly so that we can do the reductions at the right places.

We have documented all of this on our website, and I think these ideas and principles are generally applicable. I think you can benefit by applying all of this and cutting down the build sizes of your own Flutter web builds.

Have a read here.

Vyuh Document itself is a sophisticated, high-performance document editor that packs a punch in terms of full DOCX compatibility with import and export of DOCX files, and exporting to PDF and Markdown.

It also goes well beyond in terms of extensibility by supporting a variety of blocks, including things like Mermaid diagrams, equations, and our own native Vyuh Diagram. It works on all the platforms, and it is not a trivial implementation by any means. It is also fully developed in Flutter and native Dart.

Notice that I mentioned native-Dart as well, because a lot of implementations seem to be relying on Rust and Zig to do the low-level plumbing, but we have made it a ground-up Dart-and-Flutter based implementation.

Also goes to show that the platform itself is very capable now, with the recent release of Flutter 3.50.1, giving an enormous boost to wASM, the rendering engine, and a bunch of capabilities for a lean cold boot of the web application.


r/FlutterDev • • 2d ago

Plugin New skill: /flutter-ui-essentials

Thumbnail
flutterskills.md
0 Upvotes

Published new skill: /flutter-ui-essentials.

Run in your coding session, and your agent gets the basic UI/UX stuff right while it writes code.

What are they? Stuff like:

- right keyboard and autofill for every text field
- never showing "null" to users
- dates and amounts formatted for humans
- smoother images, smoother scroll views
- etc. etc. etc.

To start using it:

(1) Install it: npx skills add kamranbekirovyz/skills --skill flutter-ui-essentials

(2) Run /flutter-ui-essentials in your chat session, then just build as usual.

It only touches the code it's writing, and adapts to your codebase.

Next skill will be for improving animations inside your Flutter app 🔥 For that, first, I'm learning a lot of stuff.

Stay tuned -> flutterskills.md


r/FlutterDev • • 2d ago

Article Four Flutter paywall bugs: two I designed out, two that bit me

0 Upvotes

Built six paywall templates on a single ChangeNotifier controller, no third-party packages, and shipped them with 108 tests. Paywalls are weirdly good at hiding edge cases, so here are the four that mattered — two I designed out up front, two that bit me anyway.

Lesson 1: money must not live in a double. 29.99 / 12 prints 2.4991666, and every formatter rounds it its own way — one screen shows $2.49, the next shows $2.50, and the receipt agrees with neither. The kit stores integer minor units with the currency's decimal digits (2 for USD, 0 for JPY) and only divides with half-up integer arithmetic. One function turns money into a string, so no two screens can disagree.

Lesson 2: hard-coded "save 40%" badges go stale the moment you touch a price. The badge is now computed from the two prices at build time, and it returns null when the saving is zero, negative, or the plan is lifetime. Null means the chip isn't in the widget tree at all — no "-0%" staring back at users.

Lesson 3: this one I hit at the very end. At 2× text scale on a 320dp screen, the pinned bottom CTA needed more height than the screen had. Nothing overlapped; it just clipped, so a user with large text enabled couldn't buy. The fix is an explicit failure mode: above 1.45× text scale the whole page becomes one scroll view, footer included, and the CTA scrolls with the content instead of fighting it.

Lesson 4: InkWell needs a Material ancestor, and MaterialApp doesn't provide one. A full-screen paywall built from ColoredBox threw "No Material widget found" the first time I tapped restore. Fix: make the shell itself the Material surface. Obvious in hindsight, annoying at 1am.

None of these were exotic. They're the kind of thing that passes a quick manual test and then shows up in a support email. Each one got a regression test — the 2× text test now pumps every template at 320dp and fails on any overflow — which is most of why the suite is 108 tests, with flutter analyze clean on Flutter 3.50.

Curious what paywall bugs others have hit: currency rounding, restore flows, trial eligibility, layout at extreme text scales. I'd rather learn from your scars than find them myself.

If a visual reference helps, the six templates rendered from the real widgets are here: github.com/StephenColor/flutter-paywall-flow-kit


r/FlutterDev • • 2d ago

Discussion Is there a widget that will resize text based on its (the widget containing the text) height and width?

2 Upvotes

I want text to fit in the safe area without overflowing.


r/FlutterDev • • 2d ago

Tooling [ 100% Open-source & offline ] FlutterGuard is now live on Google Play — on-device security scanner for compiled Flutter apps

2 Upvotes

I have just released FlutterGuard on the Google Play Store. FlutterGuard is a free and fully open-source Android application which scans compiled Flutter apps directly on your phone to detect security leaks in advance of deployment.

Since Dart is compiled ahead-of-time (AOT) into native code (libapp.so), traditional Android scanners usually overlook what is actually exposed within your release APK. With FlutterGuard, you can audit your final APK offline and without uploading your APK binary file to any third-party cloud server.

Features:

• libapp.so binary strings analysis: Exposes API keys, secrets, and backend endpoints.

• Leftover assets analysis: Detects unnecessary inclusion of .env files.

• App & Manifest security analysis: Checks the state of obfuscation, certificate usage, and permissions.

Links:

• Google Play: https://play.google.com/store/apps/details?id=com.flutterguard.app

• Website: https://flutterguard.dev/

• Github (source code): https://github.com/anasfik/FlutterGuard

Would be great to hear what you think about it and what additional checks would you like to see in the future!


r/FlutterDev • • 3d ago

Tooling I built open-source Flutter Docker images for CI/CD with native AMD64 and ARM64 support

8 Upvotes

Hey everyone!

I've been working on an open-source project to make Flutter CI/CD environments simpler and more consistent.

Today, I'm excited to share Flutter Docker Images, built from scratch and designed for developers who want a ready-to-use Flutter build environment without having to configure everything themselves.

Key features:

  • Preinstalled Flutter SDK and Android SDK
  • Native AMD64 and ARM64 support
  • Stable and beta release channels
  • Version-specific image tags
  • Compatible with GitHub Actions, GitLab CI, and local Docker environments
  • MIT license

Getting started:

docker pull ghcr.io/knottx/flutter:stable

GitHub: https://github.com/knottx/docker-images-flutter

The project is still in its early days, and I'd love to hear what the Flutter community thinks.

Feedback, feature requests, and contributions are more than welcome!


r/FlutterDev • • 3d ago

Plugin gal 3.0 is out: a Flutter plugin to save images and videos to the gallery, package size cut by 88%

Thumbnail
pub.dev
27 Upvotes

How I did it, in case it helps other package authors:

1. 88% smaller package (248 KB → 30 KB)

The example app's platform folders were being published with the package. A .pubignore containing a single * in each of example/android, example/ios, example/macos and example/windows keeps them out. You can check your own package size with dart pub publish --dry-run.

  • Helps: the pub get download and the pub cache
  • Doesn't change: app size (the example folder never ends up in apps)

2. dart fix support for renamed APIs

3.0 renames hasAccess and requestAccess to hasPermission and requestPermission. I added rename transforms in lib/fix_data.yaml, so users can migrate with:

dart fix --apply

If gal helps you, a like on pub.dev would mean a lot.


r/FlutterDev • • 3d ago

Dart I just published my first Flutter package – ap_drawer (Animated Navigation Drawer)

Thumbnail
pub.dev
5 Upvotes

Hey Flutter developers! 👋 I've recently published my first Flutter package, ap_drawer, on pub.dev. It's an animated navigation drawer package built to make app navigation more customizable and visually appealing. I'm sharing it here to get feedback from the Flutter community. I'd love to hear your thoughts, suggestions, and ideas for improvement. If you find it useful, contributions and GitHub stars are always appreciated! ⭐ 🔗 Package: https://pub.dev/packages/ap_drawer Thanks! ❤️


r/FlutterDev • • 3d ago

3rd Party Service I built an app that puts App Store + Google Play stats in one place (free, feedback welcome)

Thumbnail
devlog.codea.digital
6 Upvotes

Hey everyone,
I'm an indie dev, and I was tired of opening App Store Connect, Play Console and a chart tracker every morning just to see how my apps were doing. So I built Dev Log for myself, and I've now released it.
What it does:

  • Combines downloads, sales and chart ranks from both stores
  • Shows "Findings", like your best day, busiest weekday and top country
  • Tracks the App Store Top 100 (free and paid) across countries, with chart-climb alerts
  • Shows subscribers, a sales calendar, live sales and payout timing
  • Includes widgets (Home Screen, Lock Screen, StandBy) and an Apple Watch app

Privacy was a priority for me. Data syncs through your own iCloud, store keys stay in Keychain, and there's no tracking and no ads.
It's built with Swift. The free tier covers the last week and month of data, one store and three apps. Pro unlocks full history, both stores and all apps, with a free first week.
I'd love honest feedback, especially on what's missing and what you'd want in an analytics app. Happy to answer questions about how I built it.


r/FlutterDev • • 3d ago

Discussion Three problems I hit streaming AI text into Flutter, and how I fixed them

2 Upvotes

I have been building a streaming chat UI in Flutter and hit three problems that only appear once tokens arrive in bursts.

1. Rebuilding on every delta. Each chunk triggered a setState and a full markdown re-parse; a fast stream meant many rebuilds per frame. Reveal now lives in a TypewriterController driven by a vsync ticker. It releases text at 320 chars/s, and when the backlog would take longer than ~0.9 s it raises the rate so it never falls permanently behind. skipToEnd() finishes instantly.

2. Partial markdown flickers. A half-arrived **bold run renders as literal asterisks until the closing marker lands, then snaps. The parser never throws on any prefix of the document: an unclosed fence still renders as a code block flagged incomplete, and tolerant mode styles an unclosed ** run instead of showing it.

3. The caret. I used the U+258D block glyph first — it rendered as tofu on a device whose font did not carry block elements. It is a WidgetSpan now, a drawn rectangle that cannot be missing from a font. I check the layout at 320 dp with 2× text scale, which is where the model badge and the composer break first.

65 tests, zero dependencies beyond the Flutter SDK, Flutter 3.22+.

Two smaller things took longer than expected: a table that fits must not scroll while a wide one must (column widths measured with a TextPainter at the same text scale as the cells), and a code block scrolls horizontally instead of wrapping, because a wrapped block changes height on every chunk and drags the scroll position with it.

Screens of the component set are here if you want to compare them with your own: https://github.com/StephenColor/flutter-streaming-markdown-kit (~4.7k lines, showcase repo only — the source itself is not public).


r/FlutterDev • • 4d ago

Discussion is there a way to make color schemes that are seeded have more relevant colors automatically?

1 Upvotes

For example, I try and seed with a pink color and end up getting a brownish purple.


r/FlutterDev • • 5d ago

Discussion Decoupling and new UI libraries

19 Upvotes

I've just finished going through the recent changes in Flutter, and I'm genuinely happy to see Material and Cupertino finally being decoupled from the framework. Why the heck did it take so many years to get here? Having two opinionated design systems so deeply integrated into a supposedly universal UI framework never made much sense to me.

Could this finally open the door to an ecosystem of independent UI component libraries and dedicated design packs similar to what the web ecosystem has


r/FlutterDev • • 4d ago

Tooling I built an open-source self-healing bot for Flutter production crashes. Would love your architectural feedback on this concept.

Thumbnail
pub.dev
0 Upvotes

Hi everyone,

Like most Flutter developers, I've spent too much time dealing with the standard production incident cycle: a fatal crash gets reported in Firebase Crashlytics, you pull the stack trace, reproduce it, write a defensive fix, run tests, and push a hotfix branch.

I wanted to see if we could automate this entire triage & verification pipeline without turning it into a black-box AI mess.

So I built and open-sourced **CrashPilot**: https://pub.dev/packages/crash_pilot

### How the pipeline works:

  1. **Crash Ingestion:** A webhook (Firebase Cloud Function / Sentry) catches a fatal crash trace and triggers a GitHub Actions workflow (`workflow_dispatch`).
  2. **Dart AST Extraction:** Instead of passing entire source files to an LLM, CrashPilot parses the Dart Abstract Syntax Tree (using `package:analyzer`) to isolate the exact enclosing method and class where the crash occurred.
  3. **Surgical Patching:** An LLM generates a minimal 5-15 line defensive replacement.
  4. **CI Sandbox Verification:** The patch is applied in an isolated headless Ubuntu runner, where it executes `flutter analyze` and `flutter test`. It uses an automated reflection loop (up to 3 turns) if compilation or tests fail.
  5. **Automated PR:** Once verified with 0 errors and passing tests, it pushes a branch and opens a GitHub Pull Request with a regression unit test and root-cause summary.

### Where it currently stands:

- Published on pub.dev (v1.0.9) with 160/160 pub points.

- Tested end-to-end on a demo repository where it successfully created verified PRs for null-check crashes.

- Source code: https://github.com/vaibhavbadhe712/crash_pilot

- Example demo PR generated by the bot: https://github.com/vaibhavbadhe712/crash_pilot_demo/pull/2

### What I want to ask the community:

Before I spend time expanding this, I’d love your honest feedback:

  1. **Does this concept sound practically useful for real-world production setups, or does auto-PR generation feel too risky?**
  2. What edge cases should I be most concerned about? (e.g. Obfuscated traces, multi-file state management like BLoC, or bad backend payloads masquerading as client crashes?)
  3. What feature would you consider essential before you'd ever test this on a real app?

Thanks for any insights, criticisms, or architectural suggestions!


r/FlutterDev • • 5d ago

Discussion I built an open-source, self-hosted Android device management platform with Flutter – Wonkru MDM

12 Upvotes

Wonkru MDM, my open-source Android device management project, is now live!

It's a free and open-source mobile device management platform I built to help businesses manage Android phones, tablets, handheld terminals, and other devices from a single dashboard.

With Wonkru MDM, you can:

  • Send commands to devices remotely.
  • Remotely install, uninstall, and update applications.
  • Apply security policies and device restrictions.
  • Configure devices for specific use cases using the custom launcher and kiosk mode.
  • Enroll devices using QR codes.

One of my main goals was to build an MDM platform that doesn't rely on external cloud services. You can host it on your own server without relying on any cloud services and even run it entirely within a local network without internet access.

I built the web dashboard and mobile application using Flutter, with Dart and Serverpod powering the backend.

The free and open-source version is currently available, and I'm planning to release a Pro version with more advanced features soon.

For anyone interested in checking out the project or trying it on their own server, here are the links:


r/FlutterDev • • 5d ago

Plugin I build FastLottie. Faster than native — the Lottie renderer Flutter deserves

Thumbnail
pub.dev
52 Upvotes

Hey everyone,

If you've ever tried rendering a chat screen or sticker picker full of Lottie animations in Flutter, you've probably hit the same wall I did: dropped frames, GC spikes, and memory usage shooting up as soon as more than a few stickers are on screen at once.

I got tired of working around it, so I built a 2D Lottie & Telegram `.tgs` engine from scratch called FastLottie (v1.0). The goal was to make dense sticker grids feel effortless—and on heavy stress tests, it ended up beating native Kotlin, C++ `dotlottie`, and `lottie-ios`.

Benchmarks

| Metric | FastLottie v1.0 | Baseline |

| :--- | :--- | :--- |

| RAM — 24× stickers @ 120 Hz (Apple M5) | 209 MiB | `lottie-ios`: 3.27 GiB (~15× less) |

| Total PSS | 249.5 MiB | Pure Native Kotlin: 373.7 MiB |

| Parse speed vs. Native Kotlin | 2× – 17.5× faster | — |

| Parse speed vs. Swift | 4.2× – 10.3× faster | — |

How it works under the hood

* Zero-DOM UTF-8 parsing (off the UI isolate): Instead of decoding JSON into large Dart `Map`/`List` trees that trigger GC storms, FastLottie scans raw UTF-8 bytes directly into columnar `TypedData` tracks designed for `Float32x4` SIMD evaluation.

* Bounded VRAM via LZ4 strip cache: Native C/SIMD kernels rasterize into adaptive LZ4 strips (~17.7 µs decode) with a 32 MiB default GPU budget and optional `.flcache` disk caching.

* Zero PlatformView tax: No `AndroidView`, no `UIKitView`. Direct Flutter texture composition skips the +164 MiB PlatformView overhead altogether.

* Web support via Wasm: Uses dedicated Web Workers paired with C Wasm SIMD kernels so heavy animations don't block the main thread.

Drop-in API

Supports both `.json` and Telegram `.tgs` files out of the box:

```dart

FastLottie.asset('assets/sticker.tgs')

```

You can switch between Shared Raster**,** Vector**, or** Direct Canvas modes depending on the widget, and use `FastLottiePlaybackScope` to manage off-screen playback in scrollable feeds.

---

Would love feedback from anyone building chat UIs, sticker pickers, or animation-heavy feeds. Happy to dive into the C/SIMD internals, texture pipeline, or benchmark setup in the comments!


r/FlutterDev • • 4d ago

Discussion Does Firestore’s bundled BoringSSL require a French encryption declaration?

1 Upvotes

I’m preparing to release my Flutter app in France. It uses Firestore, and the iOS build bundles gRPC and BoringSSL for TLS. I haven’t added any custom or end-to-end encryption

I’ve seen advice to set ITSAppUsesNonExemptEncryption to false for HTTPS, but I’m unsure whether that applies when the SDK bundles its own TLS implementation

I already filed an ANSSI declaration and uploaded it to App Store Connect. It’s awaiting review. But I'm waiting almost 4 day and there is no updates

If you’ve shipped a Flutter app with Firestore in France, how did you handle this?
May I just set  ITSAppUsesNonExemptEncryption to false?


r/FlutterDev • • 4d ago

Discussion Flutter Project Structure

0 Upvotes

Is this a good starting structure for a Flutter project? Is it simple, well-organized, and suitable for future growth and expansion?

lib/

├── main.dart

├── app.dart

├── core/

├── l10n/

└── features/


r/FlutterDev • • 5d ago

Discussion jobs with Flutter skills

5 Upvotes

Literally, I can't find or land one with Flutter skills over 9 years of exp and no offer, what's going on 😔