r/FlutterDev • • 5h ago

Tooling I built a shader debugger for Flutter pick a variable in your .frag and see it as a heatmap in the running app

Thumbnail
github.com
2 Upvotes

Debugging a Flutter fragment shader usually means copying a value into fragColor, hot reloading, and guessing from the colors.

Other platforms have Xcode's shader debugger and RenderDoc. I built something like that for FragmentProgram shaders, as a DevTools extension.

You open your .frag in the Shader Debugger tab, click a line and pick a variable, and the running app draws that value instead of the shader's output. Scalars go through a viridis colormap and vectors show as RG or RGB. For matrices, arrays and structs you pick a column, element or field.

There's also a select mode like the widget inspector's. Click a pixel in the app (or tap it on a phone) and you get the exact value there as 32-bit floats. Every float uniform also gets sliders, so you can override uniforms while the app runs, and the heatmap and pixel reads use your overrides too.

Under the hood, the extension parses your shader with a GLSL analyzer written in pure Dart, generates an instrumented copy that writes the picked value out, saves it as a probe .frag and hot reloads. In the app you draw through DebugShader instead of FragmentShader. It swaps the probe in and copies your uniforms onto it on every paint. Your own .frag is never touched, and in profile and release builds DebugShader just draws your shader. (The analyzer is its own package, shader_debugger_core, if you want to build other shader tools on it.)

Setup: add the package, register a placeholder probe shader under flutter: shaders: in pubspec.yaml, then:

final shader = await DebugShader.fromAsset('shaders/my_effect.frag');
final size = shader.getUniformVec2('uSize');

// in paint(): set the uniforms first, then read shader.shader
size.set(width, height);
canvas.drawRect(rect, Paint()..shader = shader.shader);

It needs Flutter 3.47+. Uniforms are set by name (getUniformFloat, getUniformVec2, ...) because the probe adds uniforms of its own and values get copied over by name.

What's rough right now:

  • A value inside a loop, or in a function called more than once, shows its last write.

  • dFdx, dFdy and fwidth come out as 0 in pixel reads.

  • ImageFilter.shader and BackdropFilter shaders aren't supported.

  • Heatmaps and pixel reads don't work yet on shaders that #include their own .glsl files.

  • Launch the app from VS Code or Android Studio. DevTools can only write the probe file inside the IDE's workspace. Otherwise the tab gives you the probe to paste by hand.

Repo: https://github.com/mohamedalsamrai/shader_debugger pub.dev: https://pub.dev/packages/shader_debugger


r/FlutterDev • • 6h ago

Discussion Case Study: How I cut Flutter Web (--wasm) cold start on Slow 4G from 20s+ down to ~3-4s (fonts, Firebase WebChannel & Brotli)

21 Upvotes

I recently shipped an offline-first PWA built with Flutter Web (--wasm), and my initial GA4 metrics were brutal: mobile users on 3G/Slow 4G were bouncing at 0–2s engagement because the cold start was taking over 20 seconds (pushing ~6.1 MB over the wire / ~15.7 MB uncompressed).

After profiling the waterfall in Chrome DevTools, I found four major bottlenecks that were choking initial load - and fixing them completely changed our retention:

1. The google_fonts runtime trap (-90% font payload)

Even if you bundle fonts, google_fonts was making blocking runtime HTTP calls to fonts.gstatic.com (main.dart.mjs fetching >1.1 MB of .ttf files before rendering text).

  • Fix: Stripped google_fonts runtime fetching completely, converted Inter & JetBrains Mono to subsetted .woff2 files (116 KB total in assets/fonts/), declared them directly in pubspec.yaml, and added <link rel="preload" as="font" type="font/woff2" crossorigin> in index.html.

2. Synchronous Firebase & Firestore WebChannel blocking main()

Initializing FirebaseAuth and FirebaseFirestore in main() was loading heavy JS pipelines and holding open a channel?gsessionid=... WebChannel socket for 13+ seconds on bad connections.

  • Fix: Made cloud services 100% lazy on kIsWeb. The app mounts straight from localStorage (<1 ms), and Firebase.initializeApp() is only triggered on-demand if a user explicitly taps Sync or Sign In.

3. Explicit Wasm MIME types, Brotli & COOP**/**COEP headers

main.dart.wasm (1.7 MB) and skwasm.wasm (1.2 MB) are heavy by nature. Without explicit headers in firebase.json, streaming compilation and multithreading weren't kicking in properly.

  • Fix: Configured Content-Type: application/wasm, Cache-Control: public, max-age=31536000, immutable, and Cross-Origin-Opener-Policy: same-origin / Cross-Origin-Embedder-Policy: credentialless for skwasm, ensuring full Brotli (br) compression from edge nodes.

4. Zero-JS GPU Splash & Value-First Routing

  • Added an inline HTML/CSS loader in index.html animated strictly via transform and opacity (compositor thread) so it never freezes while the main thread compiles Wasm, fading out via onEntrypointLoaded.

  • Bypassed our /onboarding route on kIsWeb so incoming mobile traffic lands directly in the main workspace (/hub), where average session time jumped to ~7 minutes once the load bottleneck was gone.

If anyone wants to inspect the network waterfall or test skwasm cold-start behavior in DevTools, the live production build is up athttps://app.meniska.app(it's a wet-lab dilution & buffer calculator I built for myself).

Curious how other Flutter Web devs are handling initial Wasm bundle size right now - has anyone managed to shave skwasm.wasm down further, or are you still sticking to canvaskit / auto for mobile web?


r/FlutterDev • • 10h ago

Tooling intelij idea - buttons debug, stop lag badly

2 Upvotes

After updating IntelliJ Ultimate the Flutter plugin and all my SDK settings were gone.
Reinstalled and set it up again (Flutter 3.50), but now debug is painfully slow: the app sits paused ~20s before main() runs, I get "DevTools startup failure" (timeout) every time, and after quitting the app the stop button stays red for minutes. `flutter run` from the terminal is fine. Anyone seen this or know a fix?
I prefer not switch do vscode


r/FlutterDev • • 13h ago

Plugin Fliin — copy-paste Flutter UI that updates without losing your edits

Thumbnail
youtu.be
1 Upvotes

The copy-paste model (shadcn/ui style) is great until upstream ships a fix and you've already edited the files. So I built Fliin for Flutter.

dart pub global activate fliin
fliin add checkout
edit anything
fliin update checkout

update does a 3-way merge (diff3) between what you were given, what you have now, and the new version. A real conflict goes into a .fliin-new file next to yours, so your build never breaks.

A few choices:
- widgets only, no Material or Cupertino, RTL by construction
- fliin theme --primary "#0A6CFF" solves for WCAG AA on every text/background pair
- fliin verify renders each item on 16 variants (platform × theme × text scale × RTL) in a plain flutter test
- fliin mcp lets your agent search and install items
It shipped last week, and I'd love input from people who build Flutter apps every day. What slows you down on UI that a tool like this should fix?


r/FlutterDev • • 13h ago

Article I have built mobile apps (Android/Flutter) used by millions over the last 7+ years. Lately, I’ve been heavily building AI-powered features. AMA / Let's talk about scaling mobile apps & AI!

0 Upvotes

A bit about my background: I’ve been a mobile developer for over 7 years, focusing primarily on Native Android (Kotlin) and cross-platform Flutter. Over the years, I’ve had the privilege of building and scaling apps that have reached millions of users.

Lately, my focus has shifted toward blending mobile development with AI—integrating LLMs, on-device ML models, and smart features directly into mobile architectures.

I wanted to share a few things I've learned along the way, or just chat with fellow devs:

  • Scaling to millions: Handling state management, offline-first architectures, and performance bottlenecks in Flutter/Android when user bases grow.

  • AI on Mobile: Practical ways to integrate AI without killing battery life, handling API latency, or using on-device models efficiently.

  • The Freelance/Remote Life: Navigating client work and building products from here in Karachi, Pakistan.

I’m currently open to interesting freelance projects or collaborations (especially where mobile meets AI). Feel free to DM me if you want to chat about a project or just talk tech!

Otherwise, ask me anything about mobile dev, Flutter, Android, or integrating AI into mobile apps. 👇


r/FlutterDev • • 15h ago

Plugin Circuitry: A DAG based dependency framework

3 Upvotes

It's the weekend and I have been working on a project since yesterday.

I just published the initial releases (0.1.0) of circuitry and circuitry_flutter—a zero-codegen, DAG-based dependency injection engine for Dart and Flutter.

I wanted to create a dependency injector/engine with simple APIs and syntax, circular and missing dependency checks before first access, simple dependency -> dependency wiring with tear-offs and safe async lifecycle management, without build_runner overhead or reflection and more features that existing current solutions are missing while keeping the O(1) location support.

There are many more features planned like graph slicing, multi-level circuit inheritance and location in Widget trees, live replacement of an initialized dependency and etc.

What's included:
DAG validation & parallel resolution: Circuit.build() catches missing, duplicate, or circular dependencies upfront, resolves async wires concurrently in topological waves (with rollback on failure), and disposes in reverse waves.
Enum-tagged disambiguation: Register multiple instances of the same type cleanly using Enum as key for typed retrieval instead String based naming and resolution.
Flutter integration (circuitry_flutter): CircuitProvider, CircuitProvider.value, InheritedWidget based injection and automatic unmount disposal with epoch based counter and build deduplication.

Since this is an early 0.1.0 release, I'd love feedback on the API ergonomics before iterating further.

Check them out on pub.dev:

circuitry: https://pub.dev/packages/circuitry
circuitry_flutter: https://pub.dev/packages/circuitry_flutter


r/FlutterDev • • 21h ago

Video New video in the Dart series: GraphQL codegen for huge schemas.

Thumbnail
reddit.com
1 Upvotes

r/FlutterDev • • 1d ago

Tooling Build-Time JSON Factory Generation for json_serializable classes

2 Upvotes

Had a few hundred json_serializable classes, Many of them travelled through the same socket channel. After decoding the raw JSON, hit by the same question: this is a Map<String, dynamic>, so which class is it?, before creating json_factory_runtime_generator, answered it the most obvious way, with a hand-written registry:

final Map<String, Object Function(Map<String, dynamic>)> registry = {

'user': User.fromJson,

'order': Order.fromJson,

'address': Address.fromJson,

// ...more classes

};

Every new class meant remembering to edit the file, and the failures were all quiet. A forgotten entry gives a runtime ArgumentError in production. A copy-pasted key sent two classes to one decoder.

Existing json factory generator libraries demand changing the classes, either overriding toJson() by hand or a mixin on every model or extending shared abstract base class.

Wanted a non-intrusive generator, created json_factory_runtime_generator, just annotate your class with json key - ex:JsonFactoryKey('user') and dart run build_runner build finds every annotated class and writes one file containing the whole mapping. Decoding becomes:

final obj = JsonFactoryMapper.fromKeyedJson(json); // the right class

final user = JsonFactoryMapper.fromKeyedJsonAs<User>(json); // typed

Don't want the class to be part of the factory, just comment/remote the annotation.

json_factory_runtime_generator has other featutes to manage old JSON keys for easy migration and avoiding key clash when code bases is large.


r/FlutterDev • • 1d ago

Discussion Windows devs building iOS apps: how do you actually deal with Xcode?

0 Upvotes

I build Flutter apps on a Windows PC, but every time I need an iOS build or have to debug on the iOS simulator, I’m forced onto a Mac. Remote desktop into a Mac (or a cloud Mac) always felt clunky: a whole second desktop, separate clipboard, alt-tabbing between two worlds.

So I built a prototype that streams individual Mac app windows onto the Windows desktop. Xcode and the iOS simulator show up as normal windows next to VS Code, in the taskbar, resizable. Your Mac just runs in the background.

Short demo: https://www.youtube.com/shorts/DwyKm9JisLw

Fellow Flutter devs on Windows: is this a real pain for you, or is your current iOS setup fine? What do you use right now?


r/FlutterDev • • 1d ago

Discussion Widget tree, design and perf/memory

8 Upvotes

As everything is a widget in Flutter, I am questionning about how to design my pages. I mean, when the Widget hierarchy becomes complex and I want to code separate Widgets for a cleaner code.

An example: if I have a simple structure with AppBar, a main body with a Column, some other stuff at the bottom, we see that I have a three-levels page. So I could keep the Column in another .dart file to keep my files clean but to do so I have to put it in a new StatelessWidget. When the architecture becomes complex there is a need to separate components but this means a huge amount of StatelessWidget (or -ful) returning each component, instead if having a tree in a single build() method.

Is it significant in terms of memory / performance ? How do you deal with this ?


r/FlutterDev • • 1d ago

Video A short video explanation of the eMudhra issue in Flutter

Thumbnail
youtu.be
0 Upvotes

In this short video, I try to explain the recently discovered issue with vulnerable eMudhra certificates, how it affects Dart and Flutter, what it means, and whether you should update your published apps. If you prefer to go straight to the point, you can also read the text version.


r/FlutterDev • • 1d ago

Tooling I made a terminal dashboard for simulators, emulators, phones and their logs

11 Upvotes

I built lazymobile (open source, my project) because I kept juggling xcrun simctl, adb and flutter devices.

One screen lists every iOS simulator, Android emulator and connected phone. You can boot or stop them, stream the log of one app with filter and level, and copy the device id to use with flutter -d. It lists the apps installed on a device, so you pick an app id instead of typing it, and it remembers the log you had open.

It works in any terminal and inside Neovim. It isn't Flutter-specific, so there is no hot reload or build integration. It sits next to flutter run.

Install: brew install 0xrnp/tap/lazymobile

https://github.com/0xrnp/lazymobile

I'd like to hear what a Flutter workflow would need that's missing.


r/FlutterDev • • 2d ago

Example I created a PoC of a RefreshIndicator inside a bottomSheet

2 Upvotes

After getting tired of the current situation regarding those two components interaction, I created this project with is a library that attempts to solve the gesture conflict between those two components.

https://github.com/Corkscrews/refresh_indicator_bottom_sheet

It's using the concept of arbitrator to decide what type of gesture the user is doing in the scroll view (in the demo, it's a ListView). I build a model, albeit static right now, to classify a gesture on the screen. The model is based on the touch action plus speed.

It's not perfect, far from it. But it works! I want to refine that in the future with more tests and fix pesky bugs with the bouncing list.

I tried to post a video of the demo here but the sub doesn't allow that, so you will need to go to the repository to have a look. 😕

In the future I might implemented a better action detector based on the finger dimensions, not sure how flutter exposes that, but I will try. Using that we can detect a initial swipe (more oval movement) rather than a more circular one (more likely a precise swipe-to-refresh action).

Thank you all! You all are welcome to test it and give me a feedback.


r/FlutterDev • • 2d ago

Discussion How hard would it be to create a music streaming app in flutter?

0 Upvotes

Talking about stuff like background streaming, home screen accessibility, and widgets


r/FlutterDev • • 2d ago

Plugin earshot 1.0.0: on-device sound level metering (dB(A), Leq) and sound classification for Flutter. No network, same API on Android, iOS and macOS

1 Upvotes

Hi r/FlutterDev!

I just released 1.0.0 of earshot, a set of federated Flutter plugins for ambient listening that runs fully on the device.

What it does

  • Level metering (earshot_level, pure Dart):

    • A, C and Z weighting, accurate to ±0.5 dB of IEC 61672 at 10 frequencies

    • Fast, Slow and Impulse time weighting

    • Leq over the session, 1 s and 60 s

    • Calibration offset

  • Sound classification (earshot_classifier):

    • Apple SoundAnalysis on iOS 15+ and macOS 12+

    • YAMNet through LiteRT in a background isolate everywhere else

    • One EarshotSound vocabulary across both backends, with a confidence threshold and smoothing

  • Capture (earshot_capture):

    • float32 mono PCM at 16, 44.1 or 48 kHz

    • Unprocessed input (iOS .measurement, Android UNPROCESSED)

    • Interruptions (calls, Siri, route changes) are handled and capture resumes on its own

  • earshot_plugin puts it all together: Earshot.listen() gives you one stream of level readings plus the sounds detected, from a single microphone session.

Privacy

  • No network calls and no telemetry.

  • Audio never leaves the device and is never written to disk.

  • The Apple packages ship a privacy manifest.

Performance

YAMNet runs at a p95 of 16.6 ms per window on a Galaxy S20 FE (Android 13).

Why 1.0.0

The public API is now stable. To get there, 1.0.0 cleaned up names (FrequencyWeighting, TimeWeighting and LevelCalibration, because Response clashed with http and dio), added typed ClassifierExceptions, and validates options on every listen. Every package has 100% test coverage, and each decision is written down as an ADR in the repo.

⚠️ earshot is informational and is not a certified detector. Don’t use it in place of a smoke or CO alarm.

More cool stuff is on the way, so stay tuned!

I’d love feedback on the API, and to hear what you’d build with it.


r/FlutterDev • • 2d ago

Discussion PSA: on iOS the app documents path changes after every update, dont store absolute file paths

1 Upvotes

learned this the annoying way so maybe it saves someone a bug report

if you save images (or any files) into getApplicationDocumentsDirectory() and then store the full path somewhere (shared_preferences, sqlite, hive, whatever), it works fine in dev. then you ship an update and every image is suddenly "file not found"

reason is ios puts the app container under a UUID folder and that UUID can change when the app is updated or reinstalled. so /var/mobile/Containers/Data/Application/ABC123/Documents/photo.jpg becomes .../XYZ789/Documents/photo.jpg and your saved path points to nothing

fix is simple:

- store only the file name (or a path relative to the documents dir)

- resolve the full path at runtime with getApplicationDocumentsDirectory() every time you need it

android doesnt really do this so its easy to miss if you mostly test there


r/FlutterDev • • 2d ago

Plugin I ported the idea of Apple’s TipKit to Flutter: contextual tips with rules and tours

17 Upvotes

I built flutter_tipkit, contextual feature tips for Flutter, inspired by Apple's TipKit. It decides when a tip shows; you decide how it looks.

What it does:

  • Shows tips at the right moment. For example: after the user added three items, only while they're signed in, or a day after they saw another tip.

  • Remembers what the user has seen. A closed tip stays closed, even after restarting the app.

  • Walks users through multi-step tours. Each step can point at a different widget, and the tour continues where the user left off.

  • Doesn't overwhelm users. At most one new tip a day (you can change this), tips can disappear after a few showings, and only one popover is on screen at a time.

  • Inline tips or popovers. A tip can sit in your layout, or float over the screen with an arrow pointing at a button.

  • Looks like your app. Change the colors, shape and arrow, or draw the whole tip yourself.

  • Fits any architecture. No dependencies besides Flutter, and it works with Riverpod, Bloc or plain setState.

Live demo: https://poopieapp.github.io/flutter_tipkit/

pub.dev: https://pub.dev/packages/flutter_tipkit

We built it for our own app. It's 0.1, so I'd really like feedback on the API before 1.0. What do you think?


r/FlutterDev • • 2d ago

Discussion Running on-device Sherpa-ONNX TTS in Flutter without UI stutter — a few quick takeaways

3 Upvotes

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:

  1. Move inference completely to an Isolate: Calling native C++ via FFI on the root isolate will freeze your UI for 200–400ms per sentence. Using a dedicated background Isolate + SendPort is non-negotiable.

  2. Synthesize sentence-by-sentence, not paragraphs: Don't feed a whole page into the model at once. Split by sentence and buffer 1-2 sentences ahead while the current one is playing. Startup latency dropped from 3s down to under 300ms.

  3. Use quantized (int8) models: Cut RAM usage almost in half, runs much cooler on budget Android devices with zero noticeable drop in voice quality.

  4. Temp WAV files > keeping byte streams in RAM: Writing chunks to app cache and feeding them to 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 • • 2d ago

Discussion I am learning and building using flutter currently what points should I learn and focus on in order to do things faster

1 Upvotes

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 • • 3d ago

Discussion Best free workflow/tools for getting much better Flutter UI/UX with Claude Code?

4 Upvotes

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 • • 3d ago Bravo

Discussion Bit of a newbie question: when do you actually update Flutter after an update like 3.5 drops?

17 Upvotes

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 • • 3d ago

Video They were really underselling just how big of an upgrade 3.50 is for iOS!

198 Upvotes

The latency issue didn’t seem like much to worry about imo, but after upgrading to 3.50 it genuinely (and I swear it isn’t placebo) feels like the difference between 60fps and 120fps, it’s noticeably better feeling. Honestly can’t believe this was an open issue for 3 years.

I get you probably cant feel the difference via a video, but it definitely feels and hopefully looks smoother, and that’s before even getting into the new objective-c/ffi upgrades.


r/FlutterDev • • 3d ago

Article rlutter - rust based shell utilizing wgpu and winit

3 Upvotes

Repo: https://github.com/nrbnlulu/flutter (branch rust/flutter-rs-shell)

What it gives you over the native shells

  • 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:

    • Zero-copy GPU textures: you render into a wgpu texture ring, call present(), and Flutter samples the texture with no readback and no widget rebuild.

    • CPU pixel buffers with backpressure, for software decoders, emulators and similar sources.

    • Android 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 support

PlatformStatus
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.

Try it

# Linux
curl -fsSL https://raw.githubusercontent.com/nrbnlulu/flutter/rust/flutter-rs-shell/engine/src/flutter/shell/platform/rust/install.sh | sh
# 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.

Caveats

  • It's a fork and uses private engine interfaces, in lockstep with the Flutter revision. The public Embedder API can't yet do Vulkan/Impeller multi-view compositing with async GPU handoff. I'll revisit that once upstream supports it.

  • There's no stable plugin ABI. Rust plugins compile from source.

  • It's BETA. Expect rough edges, especially on Android.


r/FlutterDev • • 3d ago

Article A2UI 1.0: agent-generated UI, rendered as native Flutter widgets

Thumbnail
developers.googleblog.com
0 Upvotes

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.