r/FlutterDev • • 6h ago

Example Parley: a Mattermost desktop client in Flutter (macOS, Windows, Linux)

Thumbnail github.com
6 Upvotes

Hi πŸ‘‹ I've open-sourced Parley, a desktop chat client for Mattermost:

https://github.com/karniv00l/parley

Some Flutter desktop details that might interest people here:

- Riverpod for state, and Drift (SQLite) as a local cache so launch and channel switches render from disk first

- a custom markdown renderer for Mattermost's flavour (mentions, code blocks with copy, emoji)

- WebSocket handling with reconnect and catch-up after sleep or network drops

- window_manager with a custom title bar on macOS and native title bars on Windows and Linux

- Cmd on macOS, Ctrl elsewhere, for both shortcuts and their on-screen labels

MIT licensed.


r/FlutterDev • • 2h ago

Tooling Flutterverse now has Wrapped 2026: every Flutter and Dart package's year in slides, plus head to head

Thumbnail flutterverse.org
2 Upvotes

I just shipped Wrapped 2026 on Flutterverse!

Every tracked Flutter and Dart project gets its own year-in-review story, covering:

  • Stars gained (best month and day)
  • releases
  • Commits and longest streak
  • Weekly downloads
  • Star ranking and a year title

You can also customize and share your own recap card, or put two packages head-to-head and compare their stats round by round.

Check it out:

bloc’s Wrapped: https://flutterverse.org/wrapped/flutter_bloc/

Explore all packages: https://flutterverse.org/wrapped/

Built with Jaspr, using pure CSS clip-path transitions. No animation libraries.

Data refreshes daily, and missing stats are excluded rather than displayed as zero.

Feel free to give any feedbacks on it!

Source: https://github.com/YeLwinOo-Steve/flutterverse ( 🌟 are welcome too )


r/FlutterDev • • 1h ago

3rd Party Service I built a Flutter bug reporter whose reports my own server can't read

0 Upvotes

Testers tend to send bugs as "it doesn't work" plus a blurry screenshot, and then you spend half a day asking which screen, what they tapped, what they typed.

So I built Nabrila. The tester shakes the phone, draws on the screenshot and hits send. You get a link with everything: a short replay, the taps, the console, the HTTP calls. They can even tap the widget that looks wrong and you get the file and line. The video above is the example report, you can open it yourself without signing up: Nabrila

The part I spent the most time on is the encryption. The report is encrypted on the phone and the key only lives in the link (after the #), so on the free plan my server just stores bytes it can't read. Happy to go into the details in the comments.

It's on pub.dev as nabrila, MIT. Free plan is 1 app and 50 reports a month.

It's not meant for production crashes, Sentry is better for that, and it doesn't do Flutter Web yet.

Would you actually use something like this with your testers? If not, what's missing?


r/FlutterDev • • 4h ago

Discussion Need Seniors Advice

2 Upvotes

Hi, I'm Tonmoy. I'm currently Studying CS in university. I'm wokring with flutter for around 1 year. I've worked on some paid projects some are published in Playstore & App store. But this days I'm feeling I'm building same apps again again all just Bunch of ecommerce app. I was looking for building something fun & will look good on my Cv as I will graduate in 7 months. If any senior Here Who can Advice me what kinds of projects They expect from Junior this days & What kinds of projects will make Cv looks good that would be really Helpful for me & I would be really grateful.


r/FlutterDev • • 1h ago

Article Open Source / GPLv3] ZΔ±dlas IPTV v1.6.1 β€” Free, Ad-Free Multi-Platform IPTV Player (Android TV, Fire TV, Windows, iOS, Tizen, webOS)

Thumbnail reddit.com
1 Upvotes

r/FlutterDev • • 3h ago

Discussion Three things that only break in a Flutter app's first run

1 Upvotes

I spent the last weeks building an onboarding β†’ permission priming β†’ spotlight tour flow with no third-party packages, and ran it at 320dp with 2x and 3x text. Three things broke that no simulator screenshot catches.

  1. The permission prompt is not the first step. On iOS, two denials turn into a permanent denial: request() then returns denied forever with no prompt. So the flow shows one honest reason per permission first, guards against double taps (two prompts, and on Android the second sometimes resolved with the answer to the first), and puts a recovery card in front of a permanent denial β€” it opens the app's Settings page and re-checks on AppLifecycleState.resumed.
  2. Coach marks point at stale coordinates. A Rect captured when the step is built is wrong after a scroll, a rotation, the keyboard opening, or the anchor widget rebuilding. Measure on every build instead, subtract the spotlight from the scrim path (four rectangles around a hole double the alpha at the seams), clamp to the visible area, and when the anchor is off screen or smaller than ~24dp, centre the card instead of highlighting a sliver.
  3. At 3x text a carousel has no layout that fits a 320dp phone. Let the illustration shrink first (Flexible with a max height) so the copy stays readable, put all copy in a scroll view, and cap the primary button at two lines with an ellipsis.

Bonus: make the "onboarding finished" outcome one-shot, or a rebuild can write the flag twice.

I put the flow in a public showcase repo with screenshots and a demo GIF in case it is useful: https://github.com/StephenColor/flutter-firstrun-kit


r/FlutterDev • • 3h ago

Article Checking Flutter code push rollouts from Claude, Cursor or VS Code with a read-only MCP server

1 Upvotes

We wrote a short guide for a question we hear a lot: "did Tuesday's patch actually reach people?" The usual answer is to open the console, click into the release and the patch, and count installs. Now you can ask the AI tool you already have open.

The Shorebird MCP server is at `https://mcp.shorebird.dev/mcp`. You sign in with your Shorebird account when you connect, so there's no API key to create and nothing to install. In Claude Code it's one command: `claude mcp add --transport http shorebird https://mcp.shorebird.dev/mcp`, then `/mcp` to sign in. Cursor, Codex, Gemini CLI, VS Code and Antigravity have their own steps in the docs.

It has eight tools, all read-only. It can look up apps, releases, patches and how far each patch has reached, which versions devices run, and plan usage. It only sees what your account sees in the console, and it can't publish, delete or roll back anything. If you want an agent to ship a patch, that's still the CLI's job, with its JSON output and non-interactive mode.

The part we find most useful is pairing it with the Sentry or Crashlytics MCP server. If your crash reports carry the patch number, you can ask whether a patch made crashes better or worse, without lining up two dashboards by hand.

The guide also covers the changelog's RSS feed ( https://docs.shorebird.dev/changelog.xml`?utm_source=reddit&utm_medium=social&utm_campaign=use-shorebird-outside-shorebird&utm_content=reddit-use-shorebird-outside ). Each item has an area as its category (CLI, Console, Flutter, API, Code Push), so you can follow only the part you use, like new Flutter version support.

If you already use MCP servers with Flutter, what would you want to ask about your releases that this can't answer yet?

https://shorebird.dev/blog/how-to-use-shorebird-outside-shorebird/?utm_source=reddit&utm_medium=social&utm_campaign=use-shorebird-outside-shorebird&utm_content=reddit-use-shorebird-outside


r/FlutterDev • • 7h ago

Discussion What made you switch state management in Flutter, or stick with your first pick?

0 Upvotes

I started with Bloc and it served me well, but on my latest small project I tried Riverpod and the amount of boilerplate dropped a lot. Now I am wondering if that holds up once the app gets bigger, with more screens and shared state everywhere. For those who switched, or stayed put, what was the moment that decided it for you?


r/FlutterDev • • 1d ago

Plugin I built a reorderable grid for Flutter where tiles can have different sizes

12 Upvotes

I needed a dashboard where users can drag tiles around, but some tiles are full-width, some are half, some are a third. ReorderableListView only does lists and GridView assumes equal sizes, so I ended up writing my own: reorderable_flex_grid.

Demo: see it in action

What it does

  • Mix half, third and full-width tiles (or any fraction) in one grid
  • Heights via aspect ratio or a fixed value
  • Other tiles animate out of the way while you drag, with edge auto-scroll
  • onReorder(oldIndex, newIndex) where newIndex is already the final position, so no off-by-one fix like with ReorderableListView
  • Edit-mode toggle, custom drag appearance, pinned tiles
  • No dependencies beyond Flutter
ReorderableFlexGrid(
  spacing: 12,
  runSpacing: 12,
  onReorder: (oldIndex, newIndex) {
    setState(() => tiles.insert(newIndex, tiles.removeAt(oldIndex)));
  },
  children: [
    for (final tile in tiles)
      ReorderableGridItem(
        key: ValueKey(tile.id),
        widthFactor: tile.wide ? 1 : 0.5,
        child: TileCard(tile),
      ),
  ],
)

Next I'm planning RTL support, a sliver version for `CustomScrollView`, and responsive widths. I'd really like to hear what's missing for your use case, or if you find bugs.

- pub.dev: https://pub.dev/packages/reorderable_flex_grid

- GitHub: https://github.com/sipanpetrosyan/reorderable_flex_grid

- Write-up on how it works: https://medium.com/@sipan.petrosyan.2000/drag-and-drop-dashboards-in-flutter-introducing-reorderable-flex-grid-451e51eabbe8


r/FlutterDev • • 1d ago

Tooling I built a no-upload 16 KB APK checker after chasing misaligned Flutter plugin .so files

4 Upvotes

A few notes from getting a Flutter Android app through Play's 16 KB page-size check. Official cutoff for updates is 1 February 2027 if you target API 35+ and ship native code, which Flutter always does because of libflutter.so and almost every plugin with a .so.

What actually worked for me:
- Flutter 3.27 or newer, AGP 8.5.1+, and NDK r28+ (16 KB ELF alignment is the NDK default from r28). Updating Flutter alone is not enough if a plugin still ships a 4 KB-aligned library.
- After a release build, unzip the APK (or use APK Analyzer) and look under lib/arm64-v8a and lib/x86_64. Then:
llvm-objdump -p lib/arm64-v8a/libflutter.so | grep LOAD
zipalign -c -P 16 -v 4 app-release.apk
Every LOAD should show align 2**14 or higher. The zipalign check is a different layer: uncompressed libraries also need a 16 KB zip offset. That's a common reason Play still complains after the engine itself looks fine.
If the failing library is from a plugin, you have to upgrade or replace that plugin. You can't relink a prebuilt .so yourself.
I got tired of switching between Studio, objdump, and zipalign, so I built a free checker that does both in the browser and never uploads the file. It's on my site: https://byteorbit.tech/tools/16kb-page-size-checker
Happy to hear if a plugin you use still fails, or if the tool and Play disagree.


r/FlutterDev • • 1d ago

Plugin I built a zero-dependency, CAD-style drawing engine for Flutter. v1.1 adds SVG export, blueprint themes and real-world units

11 Upvotes

Hey r/FlutterDev πŸ‘‹

I maintain industrial_drawing_flutter, a vector drawing engine for apps that need measured sketches (field service, inspection, construction, manufacturing) rather than freehand doodles. 1.1 just shipped and I'd love feedback.

What's in it:

- 16 shape types, including dimension lines, L/T/U profiles and a warp tool

- Real-world units: set `pixelsPerUnit: 2, unitLabel: 'mm'` and the measure tool and dimension labels read in mm

- SVG export (`controller.toSvg()`) that matches the canvas exactly, because the screen and the SVG are drawn from the same geometry code

- PNG export cropped to the drawing, no GlobalKey needed

- Light, dark and blueprint themes

- Pinch zoom, mouse-wheel zoom, zoom-to-fit, snap-to-grid, alignment guides

- Keyboard shortcuts on desktop/web (⌘Z, ⌘C/⌘V, arrow-key nudge, tool hotkeys)

- Read-only viewer mode

- Zero dependencies: only the Flutter SDK and one CustomPainter (160/160 pub points)

The engine is headless. DrawingController is a ChangeNotifier you can unit test, and the toolbar and panels are optional widgets.

A bug-fix note for anyone on 1.0.x: drawing was offset after zooming or panning. That's fixed, and pinch-zoom finally works.

pub.dev: https://pub.dev/packages/industrial_drawing_flutter

GitHub: https://github.com/akhil-nasim/industrial-drawing

Two questions for you:

  1. Would DXF export be useful to you? (https://github.com/akhil-nasim/industrial-drawing/issues/3)
  2. What's the best touch UX for multi-select? (https://github.com/akhil-nasim/industrial-drawing/issues/4)

r/FlutterDev • • 1d ago

Discussion Real-time group voice in Flutter: Opus, 20 ms frames, iPhone and Android in one conversation (open source)

2 Upvotes

I'm building Vroo, an open-source group intercom for motorcycle riders, and most of it is Flutter and Dart. Sharing in case the approach helps someone, and I'd welcome feedback.

How it's split:

  • thin native plugins in Swift and Kotlin only move 20 ms audio frames and UDP datagrams. Everything else is Dart: the voice gate, jitter buffer, mixing, talk slots, encryption (ChaCha20-Poly1305) and the protocol
  • Opus is compiled from the libopus source by a Dart build hook, so the codec also runs in plain `dart test` on a Mac
  • the whole ride runs under fake time in tests, with simulated phones, a fake box and a fake relay, so things like "a phone call mutes both ways and voice is back within 100 ms of hanging up" are ordinary unit tests

Lessons learned the hard way:

  • on iOS, AVAudioEngine stops on every hardware format change, including right after starting and on every route change, so the plugin restarts it on AVAudioEngineConfigurationChange
  • a dart:io UDP send doesn't throw when the OS refuses it: it returns 0 and reports the error on the socket's stream a moment later. Without an onError handler, that's an unhandled exception

Status: early prototype. Voice works on the bench between an iPhone and an Android phone.

Repo (GPL-3.0): https://github.com/shubhanjanmedhi/vroo


r/FlutterDev • • 1d ago

Plugin DevPul, an open-source browser UI for a running Flutter debug build (HTTP, errors, logs, mocks)

1 Upvotes

I got tired of the print, hot reload, scroll the console loop when an API call breaks, so I built DevPul. It's mine, it's free and open source, and I'd like feedback.

It shows what a running Dart or Flutter debug build is doing, in a browser tab or as a tab in DevTools:

  • HTTP calls with headers and bodies, and copy one as curl
  • errors with the stack trace, the route, and the requests and logs right before it
  • mock a request to a 500, or pause it like a breakpoint, edit it and let it go
  • actions your app registers (Devpul.action), run from the UI
  • plugins for Riverpod, bloc, go_router, sqflite and more
  • the same data for coding agents over MCP

How it works: the app posts events with dart:developer postEvent, so it uses the VM service every debug run already has. The browser reads them over 127.0.0.1. No proxy, no server, nothing leaves your machine.

Setup is devpul plus devpul_dio or devpul_http and devpul_flutter, then open DevTools or run devpul run in place of flutter run.

Docs: https://devpul.saradgajurel.com.np

Source: https://github.com/ictsolved/devpul

Demo: https://www.youtube.com/watch?v=g58MdxxEVWo

Where it does not fit, so you don't waste time:

  • It does nothing in release builds.
  • It is not for performance, memory or layout. Use DevTools.
  • HTTP shows up through the Dio and package:http adapters, or on native through dart:io. On Flutter web, calls outside an adapter are not seen.

I'd like to know which part of your debugging loop is the most annoying, and what is missing for you to try this.


r/FlutterDev • • 1d ago

Plugin I built a seating plan editor and seat picker for Flutter

2 Upvotes

I built venue_seat_picker for Festapp Tickets, where we use it in production to let organizers lay out a venue and guests pick their seats. It's a pretty full-featured editor at this point. In the demo I Ctrl-drag a whole row of tables, chairs included. The package is MIT licensed, including for commercial use.

Watch the 32-second editor demo on YouTube

  • The Flutter editor runs on mobile, desktop and web. Drag in tables, custom shapes, curved rows and standing areas. Start from a blank plan or an editable template, and undo changes as you go.
  • Guests can zoom in, pick seats or choose how many standing tickets they want. The picker rolls back a selection if your backend rejects it.
  • The same JSON layout also works in a regular website with @festapp/venue-layout, a JavaScript SVG viewer and picker. Your app handles prices, live availability and seat holds.

Try it in your browser Β· pub.dev Β· GitHub (MIT) Β· npm


r/FlutterDev • • 1d ago

Article I built an offline-first sync queue in Flutter without sync packages. Here is what broke.

4 Upvotes

I wanted optimistic writes in a notes app: tap, see it immediately, let the network catch up. No sync package β€” just a queue, a tiny in-memory backend for development, and later a real API.

The queue is a list of intents, not API calls. Each operation stores: kind (create/update/delete), entity, entity id, payload, the base payload and base version it was written against, status, attempt count, next attempt time, and an idempotency key. Here is what it took to get right.

1. A timeout is not a failure.

My first version retried when a request timed out. Sometimes the server had already committed the write. Result: duplicate records, and in one case a duplicate invoice in a staging test.

The fix is a client-generated idempotency key per operation, sent as a header. The server stores the key with its result and replays that result when it sees the key again. Retry is now safe, including after a crash between "server committed" and "client saved the ack".

This is not optional or an edge case. A timeout after commit is normal behaviour on mobile networks.

2. Coalescing is only safe before the first attempt.

I merged queued edits for the same record to cut requests. Then I merged an edit into an operation that had already been sent once. Same key, new payload. The server either rejects it or, worse, stores something the user never wrote.

The queue now coalesces only when status == pending && attempts == 0. After any attempt, a new edit becomes a new operation with a new key. On create I merge edits into the create while it is still pending; once it is on the wire, the next edit is a separate update that waits for the create's server id.

3. Temp IDs live in more places than the row.

Offline creates get local_1. When the server answers with srv_42, the obvious step is to update the record's id. But other queued payloads still say local_1: parent ids, assignee ids, nested comment ids. The server rejects them or links the wrong thing.

The fix scans the queue and rewrites the id in entityId and recursively inside every payload map and list, then persists the mapping so old routes and old widgets still resolve. Order matters: rewrite before the next operation is sent, not after.

4. A failed head must block its own entity.

I tried skipping a failed operation and continuing with later writes for the same record. If an update fails and a delete succeeds, the server ends up in a state the user never saw.

Each entity is now a chain. Only the head is eligible. A failed or conflicted head blocks later writes for that entity and nothing else other entities keep syncing. The blocked head retries with jittered backoff, and when it needs a decision it waits for one.

What I stopped doing

  • Global FIFO. One slow record stopped everything; per-entity ordering is enough and much faster.
  • Retrying 400/422. A rejected payload will be rejected forever; it now goes straight to a dead-letter state.
  • Retrying into a 401. The queue pauses, keeps attempts, and waits for resumeWithAuth().
  • Mutating an operation after it was sent.
  • Showing a spinner for sync state. A chip ("3 waiting", "1 failed") plus a badge per row tells the user more in less space.

What I still find hard

Conflict UX. I have a field-by-field sheet now (merge / keep mine / keep theirs / discard), with server-wins, client-wins and field-merge policies for the automatic cases. But deciding which policy fits a screen is a product decision, not a technical one.

When an offline edit loses to a server change, how do you present it in Flutter without leaking the sync layer into every screen? I would genuinely like to see how other people structure that.

The queue, widgets and a demo app (with a fake backend, offline switch, latency, injected failures and a remote-edit button) are all part of one small package I put together after this experiment. Happy to answer questions about any of the four bugs; the code is small enough to read. The queue, the widgets and the demo app are also in a public repo β€” README, eight screenshots and the demo GIF: https://github.com/StephenColor/flutter-syncspool-kit


r/FlutterDev • • 1d ago

Article I wanted to play some songs but couldn't figure out the notes, so I built a local AI transcriber

1 Upvotes

I really wanted to play some mains but could not figure out the notes alone, then I found some services that uses AI to do it, but they were subscriptions, so I started building my own that runs locally.

https://github.com/boginni/music_transcriber

Still there is a bunch of things that could be improved, I am posting here for anyone that knows better than me how to improve transcription process....


r/FlutterDev • • 1d ago

Dart dewy - Create simple web apps with Dart

Thumbnail dewy.run
0 Upvotes

I created a simple web development environment for those learning to code. Code are compilation are all local and it can be installed as a PWA to be used offline.


r/FlutterDev • • 2d ago

Plugin smart_shimmer_ui | Flutter package

Thumbnail
pub.dev
3 Upvotes

πŸš€ Introducing smart_shimmer_ui – A Flutter Shimmer UI Package

I recently published my Flutter package: smart_shimmer_ui on pub.dev.

It provides ready-to-use shimmer skeleton loading components to make loading states easier to implement in Flutter applications.

✨ Features:

  • Ready-to-use shimmer skeleton widgets
  • List, Card and Profile loading templates
  • Multi-line shimmer layouts
  • Light & Dark mode support
  • Easy integration into existing Flutter projects

πŸ“¦ Package: https://pub.dev/packages/smart_shimmer_ui

I'd love to get feedback from the Flutter community!

What additional shimmer components would you like to see?


r/FlutterDev • • 2d ago

Article Shorebird code push: Flutter add-to-app modules can now have their own release version

3 Upvotes

Until now the module's release version had to match the host app's version. So when the host team bumped `versionName` or `CFBundleVersion`, you had to cut a new module release before those users got patches.

With Shorebird 1.6.142+ and Flutter 3.47.9+ you pick the module's version yourself:

shorebird release aar --release-version 2.4.0+1

shorebird release ios-framework --release-version 2.4.0+1

Any host app that embeds that build gets its patches, whatever version the host is on.

A few things to know before you switch:

- Patch with 1.6.142+ too. An older CLI sees the `release_version` in the module's `shorebird.yaml` as a changed asset and stops.

- A host gets the patches for the module build it embeds. If an older host build still ships an older module build, you need to patch both releases.

- Patches are Dart code only. Native code (including the native side of platform channels), images and fonts still need a new module release and host build.

- You can't pick patches per host app. To try one in a single host first, give that host's QA build its own track.

- If your CI already passes the host app's version as `--release-version`, it keeps working.

Write-up with a multi-host example: https://shorebird.dev/blog/module-patching/?utm_source=reddit&utm_medium=social&utm_campaign=add-app-socials&utm_content=reddit-add-app-socials

Step-by-step (release, patch, tracks and QA builds, moving older modules): https://shorebird.dev/blog/how-to-patch-module/?utm_source=reddit&utm_medium=social&utm_campaign=add-app-socials&utm_content=reddit-add-app-socials

Curious how you handle one Flutter module across several native apps?


r/FlutterDev • • 2d ago

Tooling I built DroidDesk, a desktop companion for Android development and APK analysis

3 Upvotes

Hey everyone!

I've been working on a Windows desktop application called DroidDesk to make Android development, device management, testing, and APK analysis easier in one place.

Instead of switching between multiple tools and command-line windows, I wanted to bring these workflows together in a single desktop application.

Some of the features I've built include:

  • Device & Emulator Manager: Connect physical Android devices and create/manage Android emulators.
  • Screen Mirroring: Control your Android device directly from your PC.
  • Logcat Viewer: Monitor and filter real-time Android logs.
  • APK Analyzer: Inspect APK metadata, permissions, components, and signatures.
  • Automated Testing: Install, launch, monitor, and capture screenshots during automated smoke tests.
  • Secret Scanner: Scan projects for accidentally exposed credentials.
  • File Organizer: Organize files and detect duplicates.

DroidDesk runs locally on Windows, with no account or cloud dependency.

I'm still developing and improving it, and I wanted to share it with the community in case anyone finds it useful.

GitHub: https://github.com/Winner-Yun/DroidDesk

If you're interested, feel free to check it out. A star on GitHub would also mean a lot. Thanks!


r/FlutterDev • • 2d ago

Article How Android WifiLock cut flutter_webrtc jitter from 85–150 ms to 10–20 ms (and open-sourcing robot_stream, a modular Flutter/Dart suite for ROS 2 robots)

Thumbnail
github.com
1 Upvotes

GitHub (BSD-3-Clause, includes demo video at the top of the README): https://github.com/robot-stream/robot_stream

pub.dev: https://pub.dev/packages/robot_stream

I just open-sourced robot_stream β€” a modular Flutter/Dart package suite (+ ROS 2 Humble robot gateway) for controlling mobile robots with low-latency WebRTC/WHEP video, telemetry, Nav2 navigation, and deadman-protected teleop.

Wanted to share one subtle Flutter/Android WebRTC issue that cost me days of debugging, in case anyone else is building low-latency video streaming apps with flutter_webrtc:

The problem: 85–150 ms jitter buffer on Android over a 2–5 ms LAN

Streaming 640Γ—480 @ ~30 fps H.264 (~1.3–1.5 Mbps) over WebRTC/WHEP from a Jetson Orin Nano robot on 5 GHz Wi-Fi (2–5 ms ping):

β€’ macOS Chrome: ~11 ms receiver jitter buffer (66–69 ms p50 driver-to-display).

β€’ iPad 5th gen (iPadOS 16.7): 17 ms p50 / 19 ms p95 jitter buffer.

β€’ Samsung A33 (Android 15, flutter_webrtc): receiver jitter buffer stayed stuck at 85–150 ms, even on the exact same LAN and stream.

Trying ForcePlayoutDelay(0, 0) lowered delay slightly but caused frame drops.

The root cause and fix

Android's Wi-Fi power-saving mode was quietly batching incoming UDP packets before handing them up to libwebrtc, so libwebrtc's adaptive jitter buffer saw bursty arrivals and expanded to 85–150 ms.

Adding a small Kotlin plugin inside robot_stream_webrtc that acquires WifiManager.WIFI_MODE_FULL_LOW_LATENCY (WifiLock) while a WebRTC stream is active immediately brought the Android jitter buffer down to 10–20 ms at 29–30 fps (~33–43 ms p50 decode latency) with zero extra frame drops. (iOS/macOS use no-op stubs so cross-platform builds stay clean.)

Modular Dart/Flutter package layout

You can install everything via "flutter pub add robot_stream", or depend only on individual packages (core and rosbridge are pure Dart, so they also work in CLI tools):

β€’ robot_stream_core β€” pure-Dart models, interfaces, and SHA-256 TLS certificate pinning for self-signed robot certs.

β€’ robot_stream_webrtc β€” standard WHEP signaling (HTTP POST SDP offer -> 201 Created, DELETE teardown), WhepSource, RobotVideoView, and the Android low-latency WifiLock plugin.

β€’ robot_stream_mjpeg β€” MJPEG fallback with JPEG marker framing and stall detection.

β€’ robot_stream_rosbridge β€” pure-Dart rosbridge v2 WebSocket client with SE(2) map+odom pose fusion, non-blocking STOP over a dedicated action WebSocket, Nav2 goals, teleop, and deadman heartbeats.

In the README demo (Wheeltec R550 driving to a Nav2 waypoint at 0.20 m/s), cutting the phone's Wi-Fi causes the robot-side deadman to cancel the Nav2 goal in ~0.7 s (1.0 s heartbeat timeout, ~20–25 cm coast); during hold-to-drive teleop, the velocity gate zeroes /cmd_vel after 0.3 s without commands.

Happy to hear feedback on the Dart API / package split, or if anyone else here is using Flutter for WebRTC video or robotics/IoT operator UIs!


r/FlutterDev • • 2d ago

Example Cutline a Flutter desktop video editor (media_kit, on-device transcription, AI edits)

1 Upvotes

Sharing a Flutter project I've been building: Cutline, a video editor for macOS and Windows. Most Flutter apps you see are mobile, so I wanted to show something heavier on desktop.

Some of the Flutter/technical side:

  • Video playback and frame-accurate preview with media_kit / media_kit_video
  • On-device transcription producing word-level timings that drive edits
  • Riverpod for state, flutter_secure_storage for API keys in the keychain
  • The "edit by typing" feature turns plain English into real timeline operations
  • One gotcha worth flagging: Impeller on macOS raced with media_kit's texture recycling and caused random black flicker in the preview, I had to disable Impeller (FLTEnableImpeller=false) to fix it. Posting in case it saves someone a headache.

It's open source if you want to poke at how any of it is wired up.

Source: https://github.com/Umair0092/cutline, open to questions on any of the implementation.


r/FlutterDev • • 2d ago

Video We built a crash-reporting SDK after our FlutterCon talk, and it still has no name. What would you call it?

Thumbnail drive.google.com
1 Upvotes

At FlutterCon 2026 in Bengaluru, we gave a talk on Flutter apps that report their own crashes and file the ticket themselves. Afterwards, people asked fair questions: does it catch native Android, Swift and C++ crashes? What happens when a fixed bug comes back? Who gets assigned?

So we went back and built the answers. The short video shows how it works. In brief:

- Captures crashes, freezes and handled errors on Flutter, Android, iOS, macOS and C/C++ desktop apps

- Decodes release stack traces with your build's symbols

- AI finds the root cause and suggests a fix

- Files a Jira ticket and posts a Slack alert, once per bug

- Masks screenshots on the device before anything leaves it

- Detects regressions and links them to the original ticket

- Assigns the person who last changed the crashing line (opt-in)

- Runs on your own servers with your own keys; your crash data stays with you

Setup is a one-time step: add your AI model, Jira and Slack keys, then deploy the server.

It does not have a name yet, and we would rather the community name it. Suggestions welcome in the comments, and we are happy to answer questions about how it works or where it falls short.


r/FlutterDev • • 2d ago

Discussion Fellow Solo Flutter Devs, How do you release updates?

19 Upvotes

I make a Daily Retro Trivia game. I have a team of writers, but I am the only dev. I have my own release flow, which I share below, but I am wondering how you do it?

If you are a solo dev you wear many hats. One of them, usually, is being your own main tester.

How do you release updates. (Not the first release, but an update, which is different.)

Here is how I do it.

  1. Test on two physical Android devices
  2. Test in a couple Android emulators
  3. If it looks good, I push to Google Play
  4. Then I ping some friends that play my app and have Android devices to do an update, and I ask them to just play like normal over the next couple days, giving feedback if something is off
  5. If everything looks good, I will make an iOS version and share in Testflight
  6. Over the next few days, while the Android version is in Production, I will test the iPhone version on my own physical iPhone and my wife's physical iPhone
  7. If after 2-3 days there are no issues with Production Android, and no issues with my Testflight version, only then will I push to Apple

Basically, I use Android as my beta testers. I know this is pretty weak sauce, but as a solo dev, I need to cut corners sometimes. I also mitigate risk by shipping lots of small updates. Probably one update every 3 weeks on average. In the past year I have never had a catastrophic update. (Although I have had a couple small glitches that I patched in the normal 3-week update cycle.)

How do you release updates?