r/FlutterDev • • 30m ago

Dart dewy - Create simple web apps with Dart

Thumbnail dewy.run
1 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 • • 10h 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 • • 4h 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 • • 5h ago

Tooling i built a flutter based entirely free, opensource anime streaming app! no ads, no nothing

0 Upvotes

Hi r/FlutterDev!

I've been working on a little project over the past few weeks and thought I'd share it here.

It's called ani-mobile, an anime streaming and offline download app built entirely with Flutter and Dart. The idea was to create something similar in spirit to ani-cli, but with a proper cross-platform UI.

It's completely free, ad-free, and open-source under the MIT License.

GitHub: https://github.com/NonLaHu/ani_mobile

A little about how it works

One of the things I spent quite a bit of time on was video playback. Instead of using the default platform video players, I went with media_kit and native libmpv binaries. It gives me better control over playback, including HLS streaming and handling different subtitle and audio tracks.

Another challenge was dealing with video sources. Some CDNs require specific HTTP headers, otherwise they simply return 403 Forbidden. I had to make sure those headers were passed correctly through both Dio and MediaKit's native streaming layer, especially Referer and Origin.

I also added automatic fallback handling. If a video source stops working or gets blocked, the player can try another quality or mirror instead of just leaving the user with a broken player.

As for the architecture, there's no centralized backend involved. The app handles scraping directly on the device using CSS selectors and regular expressions.

Give it a try!

You can check out the source code, build it yourself with flutter run, or grab a precompiled APK from the GitHub Releases page.

I'm still working on the project, so feedback and suggestions are very welcome. I'd also appreciate a GitHub star if you find it interesting!

Thanks for taking a look!


r/FlutterDev • • 5h 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 • • 6h ago

Plugin smart_shimmer_ui | Flutter package

Thumbnail
pub.dev
1 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 • • 7h 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 • • 7h ago

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

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

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

18 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?


r/FlutterDev • • 10h ago

Discussion Need Flutter GitHub repos for open source contributions

Thumbnail reddit.com
1 Upvotes

r/FlutterDev • • 16h ago

Tooling I've been building Nexus and DroidDesk, two Windows desktop applications.

Thumbnail
reddit.com
0 Upvotes

r/FlutterDev • • 17h ago

Example Yusriva (MIT), an offline Flutter planner with recurring sessions and local notifications

Thumbnail github.com
1 Upvotes

r/FlutterDev • • 1d ago

Discussion Riverpod, Bloc, or something simpler: what state management do you pick for a mid-size Flutter app?

13 Upvotes

State management is the Flutter decision I see debated the most and the answers seem to change with app size and team size. For apps with a few dozen screens and more than one developer what do you use and why? Did you ever regret your first choice or migrate later? And how much does boilerplate and onboarding time for new teammates matter compared to testability? I'm especially curious about what made you switch, if you did.


r/FlutterDev • • 1d ago

Plugin I got Flutter animations running on my Stream Deck

5 Upvotes

Turns out a Stream Deck makes a pretty fun tiny Flutter display.

Every key and dial section here is just a widget. It's regular `AnimationController` + `CustomPainter` stuff, rendered headless, and only the tiles that changed get sent over (up to 16 fps). You can scrub an animation with a dial, or stretch one image across the whole deck.

The GIFs are from the simulator in the repo. It's macOS only for now.

I put it on pub.dev if you want to play with it: https://pub.dev/packages/streamdeck_flutter

Source: https://github.com/long1eu/streamdeck.flutter

What would you put on one?


r/FlutterDev • • 1d ago

Article Multi-window on macOS with one Flutter engine

3 Upvotes

Ferret lives in the Mac menu bar, and it needs several windows: the popover, a full window, a phone-shaped mirroring window, and a floating panel while you drag files.

One engine per window means N copies of the app, N device connections and N states to sync. So every window is a FlutterView on ONE engine.

Native side, a window is one more view controller:

let vc = FlutterViewController(engine: engine, nibName: nil, bundle: nil)
window.contentViewController = vc

Dart side, one View per window, all under the same providers:

ViewCollection(views: [
  View(view: views.main, child: app(views.mainNavigatorKey)),
  if (window != null) View(view: window, child: app(views.windowNavigatorKey)),
])

Copy on your phone, and the clip shows up in the popover and the window at once. One model, no syncing.

What I learned:

  • Accessibility. enableMultiView must run before the first view, which takes the implicit view from the popover, and VoiceOver only reads the implicit view. So Ferret keeps the popover implicit and flips the engine's private _multiViewEnabled afterwards. If a Flutter release drops it, there's simply no extra window. Know a cleaner way? Tell me.
  • Navigation. Each window gets its own navigator. The app-wide key is a GlobalKey that forwards to the window in front, so a page opens where you're looking.
  • Drag and drop. Drags pass View.of(context).viewId, so the native side knows which window they start from.
  • ViewAnchor. In another app of mine, extra windows hang off the main tree with ViewAnchor(view: ViewCollection(...), child: app). They inherit every provider, with no need to lift anything above runWidget.
  • Popping out. A dialog dragged out of the window can become its own window and keep its state. Its Future completes when that window closes.
  • Closing. Before a window closes, pop its navigator to the first route. Otherwise anyone awaiting a dialog in it waits forever.

Windows and Linux use one window plus the tray for now. The code is GPL-3.0.

https://github.com/SoFluffyOS/ferret 🦊


r/FlutterDev • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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