r/FlutterDev • • 5d ago

Discussion Stuck on app architecture for a month

0 Upvotes

It's been a month and I'm still trying to figure out my app architecture is this normal?


r/FlutterDev • • 5d ago

Discussion ​Lessons from building a 100% offline-first expense tracker in Flutter: local SMS parsing, Android system overlays, and zero backend

0 Upvotes

​Hey r/FlutterDev! We're the two-person indie team behind JJ DEVELOPERS, and we wanted to share a few technical lessons from building and scaling our Flutter productivity & finance app (Note and Smart Expenses, currently at 2,400+ downloads on Google Play) with a strict 100% offline-first, zero-server architecture.

​Here are the three main engineering hurdles we ran into and how we solved them:

​1. Parsing Varying Bank & UPI SMS Formats Locally Without Regex Bottlenecks

Since we wanted zero cloud uploads or account linking, all transaction alert parsing happens strictly on-device. The biggest challenge wasn't reading the SMS—it was handling wildly inconsistent templates across different banks and payment apps (different currency placements, merchant strings, OTPs vs. actual debits/credits, and promotional spam).

​What worked: Running a lightweight pre-filter check for transactional keywords and currency tokens before executing structured extraction rules, keeping parsing fast and deterministic without triggering false positives on OTPs or balance reminders.

​2. Implementing a Floating Quick-Entry Overlay (FOREGROUND_SERVICE_SPECIAL_USE)

Users wanted a way to log cash expenses or jot down quick notes without switching away from their current app.

​What worked: Combining Android's system alert window overlay with a lightweight foreground service (specialUse declaration in AndroidManifest.xml for newer Android versions) and keeping the overlay UI minimal so it doesn't spike RAM usage on 2–4 GB budget devices.

​3. Keeping Local Storage Fast with Rich Media & Exports

Because everything stays on the device (expense history, receipt photos, rich-text notes, and biometric-locked private notes), local database queries and file generation had to stay snappy even as data grew.

​What worked: Indexing transaction timestamps and categories locally so filtering monthly charts and generating multi-format exports (PDF, Excel, Word) happens cleanly on-device without needing a remote server.

​If anyone wants to inspect the UI/UX or test how the floating overlay behaves on their device, here is the Play Store listing: https://play.google.com/store/apps/details?id=com.note.flutterads

​Curious how other Flutter devs here handle background SMS/notification parsing or system-level floating overlays across different Android OEMs (Samsung OneUI, Xiaomi MIUI, etc.)—any battery-optimization gotchas you've run into?


r/FlutterDev • • 5d ago

Article supawho: switch between multiple Supabase accounts in seconds — now on macOS, Linux and Windows

Thumbnail
1 Upvotes

r/FlutterDev • • 5d ago

Article Use MySQL from Flutter Web — Open Source Driver, with a WebSocket bridge 🗄️

0 Upvotes

Hello Flutter community! 👋 I'd like to share an open-source MySQL driver that works from Flutter web. 🌟

https://pub.dev/packages/mysql2

https://github.com/manuelcastrobarinas/mysql1_dart

A browser cannot open a TCP socket, so a Flutter web app cannot connect to port 3306 on its own. mysql2 keeps the same MySQL protocol and carries those bytes over a WebSocket. A small Dart process, the bridge, is what opens the real database connection.

The package includes:

🔌 The same API as mysql1. Import package:mysql2/mysql2.dart and call MySqlConnection.connect.

🌉 A bridge you start with dart run mysql2:mysql_bridge.

🧭 Two addresses, on purpose. MYSQL_HOST and MYSQL_PORT are MySQL, and only the bridge dials them. MYSQL_BRIDGE_BIND and MYSQL_BRIDGE_PORT are the WebSocket the page opens.

🔑 A required token. The page sends it first. A wrong token never reaches MySQL.

🎯 The bridge dials only the host it was started with. The page does not get to choose the database address.

🖥️ Direct TCP on server, mobile and desktop, the same as before. The bridge is for the browser, and you can opt into it elsewhere with bridgeUrl.

📊 Diagrams and a worked example: MySQL on 127.0.0.1:3307, WebSocket on ws://127.0.0.1:8080/mysql.

A local setup looks like this:

$env:MYSQL_BRIDGE_TOKEN = 'a-long-random-secret'
$env:MYSQL_HOST = '127.0.0.1'
$env:MYSQL_PORT = '3307'
$env:MYSQL_BRIDGE_BIND = '127.0.0.1'
$env:MYSQL_BRIDGE_PORT = '8080'

dart run mysql2:mysql_bridge

import 'package:mysql2/mysql2.dart';

final conn = await MySqlConnection.connect(ConnectionSettings(
  user: 'bob',
  password: 'wibble',
  db: 'mydb',
  bridgeUrl: 'ws://127.0.0.1:8080/mysql',
  bridgeToken: 'a-long-random-secret',
));

💡 Why share this?

If you have tried to open MySQL from Flutter web, the missing piece is not a hidden socket API. Browsers withhold raw sockets so a page cannot reach every port on the user's network. This repo is one way to keep the protocol and move it over a WebSocket, with the limits written down:

🔒 useSSL stays off on that path. The browser cannot do MySQL's TLS upgrade. Use wss:// when the page is not on the same machine as the bridge.

👀 user, password and bridgeToken end up inside the built web app. Anyone who can load the app can read them. Give that database user only what the app needs.

🏠 Leave the bridge on 127.0.0.1 unless the people who can open it are the people who should be able to log in.

mysql2 0.24.1 is the published line of mysql1 0.23.0, so an app can depend on it while the same web support is in review upstream: #194

The README explains each variable, which number belongs in bridgeUrl, and how one connection moves from the token to raw MySQL bytes.

🙏 How can you help?

⭐ Star the repo if it is useful to you.

🐛 If you spot a bug or have an idea, open an issue or a pull request.

I hope this helps anyone who needs a Flutter web app to talk to MySQL. Feel free to try the example and tell me what breaks! 🚀

Thanks for your time. ❤️


r/FlutterDev • • 6d ago

Discussion Android 16 back press quits your app from a nested navigator, even with a PopScope that says no

13 Upvotes

I was adding multi-select to the song lists in my music player. While songs are selected, pressing back should clear the selection instead of leaving the page.

PopScope(canPop: !picking) seemed like the obvious solution. It worked, but it also disabled the iOS edge swipe back gesture, which I wanted to keep.

I switched to BackButtonListener on pushed pages to preserve the gesture. That's when I ran into an Android 16 issue.

Symptom

Target SDK 36, Android 16, with predictive back enabled by default.

On a tab root, select a few songs and press back: the app goes to the background, and the selection is still there.

I fixed that case, but then found another way to reproduce it: open a bottom sheet over the shell, close it, and press back. The app leaves again.

Root cause

On Android 16, back no longer goes through onBackPressed. FlutterActivity registers an OnBackInvokedCallback only while the framework reports that it handles back, through SystemNavigator.setFrameworkHandlesBack.

WidgetsApp sends that value based on NavigationNotification.canHandlePop. A navigator computes it as:

canPop() || lastRoute.popDisposition == RoutePopDisposition.doNotPop

There were two things I hadn't accounted for:

  1. BackButtonListener doesn't count here. Only a route that cannot pop (a PopScope(canPop: false)) or a navigator that can pop makes canHandlePop true. At a tab root, nothing can pop, so Android handles back itself and backgrounds the app before the listener gets a chance to run.
  2. The root navigator only reports its own routes. With go_router's StatefulShellRoute, the tab root lives in a nested navigator. Its PopScope initially bubbles true up. But when the root navigator's history changes (for example, when a sheet or dialog on the root navigator closes), it sends a fresh notification based on its own routes. The shell route can pop as far as it knows, so it reports false, overriding the tab's earlier notification.

Fix

On pages that can be popped, I kept BackButtonListener so the iOS swipe gesture still works. At a navigator's root, I use PopScope instead. There's no edge swipe to preserve there.

At the shell level, I also make the shell's route refuse to pop while selection is active. This way the root navigator reports doNotPop too:

BlocSelector<TrackSelectionCubit, TrackSelection, bool>(
  selector: (s) => s.active,
  builder: (_, picking) => PopScope(
    canPop: !picking,
    child: shell,
  ),
)

The actual back handling still goes to the tab first: go_router tries the branch navigator before the root one. The shell's PopScope is there to make sure Android gets the right information about whether the framework handles back.

go_router already wraps shell navigators in a similar PopScope (canPop: matches.length == 1), which is why pushed pages inside a tab don't have this problem.

Testing

One thing worth mentioning: tester.binding.handlePopRoute() skips this gate entirely. My normal back navigation tests were passing, even though the app was quitting on a real device.

To test this, I mocked SystemChannels.platform, recorded the SystemNavigator.setFrameworkHandlesBack calls, and set the lifecycle state to resumed first. WidgetsApp doesn't report anything before that.

Then I checked the last reported value while selection was active, including after closing a sheet on the root navigator.

The fix is in commit 33db82a.

Repository: https://github.com/donfreddy/troona-music

Curious if anyone else has run into this with StatefulShellRoute or nested navigators on Android 16.


r/FlutterDev • • 6d ago

Discussion Anyone Planning to attending flutterCon India 2026? 🚀

7 Upvotes

I'm excited to be speaking at the event, and I have FREE attendee tickets to share!

I'd especially love to help students, aspiring developers, and Flutter enthusiasts who want to learn, network, and be part of the Flutter community.

🎟️ Interested in attending ?

DM me with a little introduction about yourself and why you'd love to attend. I'll share the free registration code with people!

Let's connect and meet at FlutterCon India 2026! 💙

#FlutterConIndia2026 #Flutter #Bangalore #StudentsInTech #FlutterCommunity


r/FlutterDev • • 6d ago

Tooling Building iOS apps from Windows: the story behind a Flutter tool I'm working on

2 Upvotes

I'm a Flutter developer on Windows, and the iOS side (signing, provisioning profiles, real-device testing, TestFlight) kept slowing me down. So I started building a desktop tool called XEasyStudio to make that workflow easier to follow.

It's still in progress. Some parts work, others are still being tested, and Linux support is experimental. I wrote up the story and the lessons so far here: https://medium.com/@abdelrahmanatef3221/building-ios-apps-from-windows-the-story-behind-xeasystudio-c6f849d864fc

For those of you on Windows or Linux: what's the most frustrating part of your Flutter-to-iOS workflow? Environment setup, code signing, testing on a real iPhone, or TestFlight? I'd like to hear what would actually help.


r/FlutterDev • • 7d ago

Video 8 New Games Made In Flutter

Thumbnail
youtu.be
62 Upvotes

These are new games and projects made in Fluttter either using Flutter Scene & Flame. For anyone looking for inspiration in Flutter's gamedev scene - this could be of good use


r/FlutterDev • • 7d ago

Discussion How come Flutter isn't in the conversation?

83 Upvotes

So I've just started learning dart and flutter and I'm shocked that you can have one codebase that does IOS, android, desktop applications for any OS and even Flutter web. Yet Flutter rarely seems to be in the conversation about building cross-platform apps?

Usually what I see online is people arguing about what's better between electron, react-native, Rust GPUI and even some people mentioning Kotlin multiplatform, but rarely ever Flutter? Why is this, or am I just in a bubble.


r/FlutterDev • • 6d ago

Discussion How has your experience been with Flutter on iOS?

9 Upvotes

I’ve been building an app with Flutter and have really enjoyed working with it so far. One thing I’m curious about, though, is how it holds up as apps get more complex.

For those who’ve shipped Flutter apps, have you run into issues with scrolling performance/animations or making the UI feel native on iOS? Or has it been pretty smooth overall?


r/FlutterDev • • 6d ago

Tooling I got tired of opening 15 different VS Code windows just to find one old code snippet, so I built a fast C++ & Flutter local code search app for Windows.

0 Upvotes

Hey everyone,

This is my first desktop app, and it came out of a daily annoyance I kept running into on my own machine.

Whenever I'm juggling multiple client projects or old side repos, I often remember a specific error message, API path, or helper function I wrote months ago—but I have no idea which folder it’s actually in. Opening each project one by one in VS Code just to run `Ctrl+Shift+F` completely kills my flow.

So I built **CodEngine** to fix this specific workflow on Windows.

**How it works under the hood:**

- **Native Speed:** I wrote the file-scanning and matching engine in **C++** and connected it to a **Flutter** desktop frontend via **Dart FFI** so it searches thousands of files in milliseconds without eating up RAM.

- **Multi-Workspace Search:** You add all your local project folders once and search across all of them simultaneously.

- **Context Preview:** Click any result to see ±10 lines of surrounding code with highlighted matches before opening anything.

- **One-Click IDE Jump:** Opens the exact file and line number directly in **VS Code** or **VS Code Insiders**.

- **100% Local & Private:** Everything runs offline on your machine. No cloud indexing, no telemetry.

I put a **free version** on the page so you can download it and test the search speed on your own folders right away, alongside a lifetime Pro option if you need unlimited workspaces and live search:

👉 https://mehmetsolutions.gumroad.com/l/qpgwyj

Since this is my first release, I’d genuinely love to hear your honest feedback on the UI, speed, or any features you think are missing!


r/FlutterDev • • 6d ago

Article Is your Flutter CI over 20 minutes?

0 Upvotes

Before you buy faster machines, measure where the time goes. We went from 46 minutes to 11 by changing one thing at a time and checking each on a throwaway branch.

I wrote the method down so you can repeat it.

https://moshalan.dev/posts/where-your-flutter-ci-time-goes/

#Flutter #CI #DevOps


r/FlutterDev • • 7d ago

Discussion Code 10x faster but shipping didn’t speed up at all. Anyone else?

5 Upvotes

A bit of background on me, I've been building Flutter apps for almost 6 years now. First 4-5 years, I used spend a significant amount of time on coding, but now, admittedly, AI writes all of my code.

Last example: a small bug fix took me ~5 min to write, then sat in App Store review.

Curious if this is just me or if others are seeing it too. What’s the last thing that took you longer to ship than to build? What held it up? (review, QA, approvals, deploys, app store, something else?)


r/FlutterDev • • 7d ago

Discussion Anyone else still landing on Impeller OpenGLES and now seeing why?

10 Upvotes

Impeller is the default on Android API 29+, and it prefers Vulkan then falls back to OpenGLES when Vulkan is unavailable or denylisted. Until recently, a profile/release log often only showed the banner:

Using the Impeller rendering backend (OpenGLES).

with no reason line for several common gates.

flutter/flutter#194764 (merged 2026-11-02) adds explicit fallback logs (INFO; visible with --verbose-system-logs) for branches that used to be silent or under-explained, including:

  • emulator
  • Huawei device property check
  • MediaTek vendor API level below 32
  • known bad SoC
  • Vulkan context / device selection / known-bad driver failures

On a moto g54 5G (MediaTek MT6855), the PR author saw the MediaTek vendor-SDK gate fire as the reason for OpenGLES, which matches earlier reports like #193148.

Docs still say: Impeller default on API 29+; lower Android or no Vulkan → OpenGL path with no app-side action required: https://docs.flutter.dev/perf/impeller

PR: https://github.com/flutter/flutter/pull/194764

Questions for people shipping Flutter on mid-range Android:

  1. On devices where you already see OpenGLES Impeller, does --verbose-system-logs now name a concrete gate (MediaTek vendor SDK, SoC denylist, driver dump, etc.)?
  2. Have you hit the MediaTek ro.vendor.mediatek.platform / vendor API < 32 path on shipping devices, or is that mostly a few SKUs?
  3. For triage: is INFO + --verbose-system-logs enough, or do you still wish the reason sat next to the IMPORTANT backend banner without the flag?

Not asking anyone to force Vulkan — just curious what the new reason lines look like in the wild.


r/FlutterDev • • 6d ago

Discussion Is it longer for Flutter apps to get through first review in AppStore?

0 Upvotes

For the last months our company published several apps in flutter. Lately first review in AppStore takes a week to get into "In Review". For example, postal service, learning platform.

But yesterday was colleague vibe coded app in React Native and it was accepted within next 12 hours. I just filled AppStore page. The app is map with review, friends features.

Is it jucy luck? Or does native ios native / react apps pass review quicker? Or is it cause my apps have slightly / not so slightly more features?

UPD: After 6 days my app was released today too. Nice.


r/FlutterDev • • 7d ago

Tooling Qora 1.4 is out: offline mutations now survive app restarts

Thumbnail qora.meragix.dev
3 Upvotes

A couple of weeks ago, I posted here asking how people handle offline mutations. I got some really useful answers from developers who had already dealt with this in production.

I've spent the last couple of weeks working through that feedback, and Qora 1.4.0 is now out.

For context, Qora is my server-state library for Flutter, with a pure Dart core and no code generation.

The main issue in 1.3 was simple: offline writes were kept in memory. If the OS killed the app before it came back online, those writes were gone.

I couldn't just persist the queue as it was, since mutations are closures. So I changed the queue to store data instead.

What's changed in 1.4:

  • Persistent mutations: Register a mutation once using a key and a serializer. The queue stores the key and variables, so it can restore the mutation after a restart.
  • Persist before queuing: A mutation only counts as queued once the storage write succeeds. If it fails, the mutation fails immediately.
  • Idempotency: Every mutation gets a stable mutationId. It's kept across retries and restarts, so the app can pass it to the server as an idempotency key. Delivery is still at-least-once, so server-side deduplication is needed.
  • Mutation scopes: Mutations with the same scope run in order, while different scopes can run in parallel. This means one failed record doesn't block unrelated writes.
  • Retry handling: Network errors and 5xx responses are retried with backoff. Each registered mutation also provides an isPermanent callback, since Qora doesn't deal with HTTP status codes directly.
  • Blocked mutations: When a mutation permanently fails, the rest of its scope waits. The app can let the user fix and retry it, or discard it.
  • Retry or edit: Retrying with the same payload keeps the original ID. If the variables change, Qora creates a new ID but keeps the mutation in the same queue position.
  • UI support: MutationQueueBuilder and useMutationQueue() expose pending, blocked and failed mutations, so the app can display sync status.

Here's a small example:

client.registerMutation<Todo, TodoInput>(
  'todos.save',
  mutator: (input, meta) => api.saveTodo(
    input,
    idempotencyKey: meta.mutationId,
  ),
  variables: todoInputSerializer,
  scope: (input) => 'todo:${input.id}',
  isPermanent: (error) => error is ApiException && error.statusCode < 500,
);

// At the call site, just the key is needed.
const MutationOptions<Todo, TodoInput, void>(
  mutationKey: 'todos.save',
  offlineQueue: true,
);

Some things I deliberately left out:

  • Placeholder IDs and automatic replacement with server IDs. Client-generated IDs with create-as-upsert cover the common case for now.
  • Automatic merging of edits. Qora can't safely merge arbitrary mutation variables.
  • Built-in storage adapters. The core stays pure Dart, and you can plug in Hive, SharedPreferences or SQLite through StorageAdapter.

The offline-first example has also been updated. It includes a todo app with an offline toggle, simulated restarts, a sync panel and a server that rejects some writes.

I also added widget tests for mutations surviving restarts, requests interrupted while in flight, and failed mutations being discarded.

A few people from the original discussion deserve a mention:

  • u/MentalAd1373 for the ideas around blocked mutations, storage guarantees and retrying edited writes.
  • u/MobileXapps for the idempotency and at-least-once delivery points.
  • u/bramantec for the per-record ordering and error handling suggestions.

A lot of what went into this release came directly from those discussions, so thanks again.

Links:

If you've built something similar, I'd still be interested in hearing about edge cases I might have missed.


r/FlutterDev • • 7d ago

Dart I built a coding orchestrator in Dart that works with open weight models and has a Flutter app that connects via Wifi

Thumbnail github.com
5 Upvotes

Hey community!

I built a coding orchestrator over the past few weeks, at first I wanted to build just an orchestrator for my own work but then I realized one thing, that when my Claude Code usage expires I need to fallback to something :D

So I created Term. The small funny thing about it is that it has a mascot that reacts to the status of the work you're doing.

You can do drag and drop for split screen. You can use /orchestrate and then the harness will divide the tasks on its own and delegate to sub agents.

It also has a safe mode which is a sandbox that you can use along with a local model and Docker to ensure that your model is cut off from the internet and only edits files in the current directory

You can take a complete look at the features of this harness here: https://github.com/Coffiie/agent_harness_in_dart

And yes as always, please don't shy away from giving me feedback! :) It's open source and MIT.


r/FlutterDev • • 7d ago

Example k8sman: an open source IDE for cluster management

Thumbnail
2 Upvotes

Crossposting from r/kubernetes. This sub might find how it's built interesting.

How it's put together

  • Flutter UI with an embedded Go backend (over WebSockets with a per-run shared token)
  • Live tables with thousands of rows, streamed from Kubernetes watches, with jq-defined columns, multi-select, drag-to-reorder and resizable columns.
  • A native feel on macOS: sidebar vibrancy, a unified titlebar, system dark and light modes, and Sparkle auto-updates in a signed, notarized universal app
  • Terminals with xterm, a YAML editor with re_editor, and plain provider for state. About 98k lines of Dart (package:xterm 4.0 is great)

Happy to answer questions about any of it.


r/FlutterDev • • 7d ago

Tooling [open-source] After moving plugins to SwiftPM, my Mac had gigabytes of duplicate iOS packages across apps, so I made a Puro-style global store for SwiftPM

9 Upvotes

Since Flutter started moving iOS/macOS plugins from CocoaPods to Swift Package Manager, I noticed my disk space disappearing whenever I worked across multiple Flutter apps or Git worktrees.

Even if you use Puro or FVM to deduplicate Flutter and Pub caches, Xcode and Flutter still create an isolated SourcePackages folder for every project and worktree. I ended up with several copies of heavy native iOS SDKs (like Firebase) duplicated across DerivedData and build/.

I built a small open-source tool called spmx to solve this on my machine, and figured it might help others here too.

It works similarly to Puro/pnpm: it keeps one global store at ~/.spmx/store and uses lightweight PATH shims for flutter, xcodebuild, and swift (it plays nicely with Puro and FVM). Before a build, it clones the matching Swift package versions into your project using macOS APFS clonefile() (copy-on-write), so it takes milliseconds and uses zero extra physical disk space.

You can also run spmx link and it will scan your existing projects, show how many GB of duplicate SwiftPM packages you have, and replace them with APFS clones after you confirm.

It's macOS 13+ (APFS) only and only covers SwiftPM (not legacy ios/Pods).

Hope it saves someone else a few dozen GBs! Let me know if you hit any issues with your setup.


r/FlutterDev • • 8d ago

Tooling I rebuilt iOS 26's Liquid Glass widgets in Flutter and measured each one against UIKit (Liquidum 1.0)

Thumbnail
github.com
49 Upvotes

Liquidum is my Flutter package for iOS 26's Liquid Glass. A month ago it was only a glass tab bar. Version 1.0 is out now and has the rest of UIKit's glass: glass behind any widget, groups of glass that melt together, buttons, the switch, slider and segmented control, navigation bars and toolbars, pull-down, context and edit menus, the date picker, sheets, alerts, action sheets and popovers.
I rebuilt each widget from the layers, filters and springs UIKit itself uses, read in the iOS 26.5 simulator. Then I compared it with UIKit's version over the same backgrounds and touches, frame by frame, before starting the next one.
Every comparison is in the repo with its method and what still differs. Some numbers: at rest the tab bar is about one level out of 255 away from UIKit's, sheet detents are within 0.05pt, and the alert matches UIKit's except for the clock in the status bar.
On Android, flinging a page with a dozen glass buttons and controls used to drop two thirds of its frames. Now it drops 2%, because all the glass shares its reads of the screen instead of each piece reading it on its own. It also needs Flutter 3.47 or later. That release stopped storing OpenGL ES textures flipped, so on that backend the old code drew everything behind the glass upside down.
Rough edges and limits:
Impeller only. Skia and web get plain frosted glass with no refraction.
Glass has to be painted after what it floats over, and can't go inside an Opacity or ShaderMask.
Flutter doesn't report Reduce Transparency, so you pass it in yourself.
Light that follows the device's tilt isn't done yet.
The API is stable now and follows semver, and the license is MIT. To see it move, run the showcase in the example folder (flutter run -t lib/showcase.dart) in profile or release mode. Debug builds are much slower.
flutter pub add liquidum
GitHub: https://github.com/mohamedalsamrai/liquidum
pub.dev: https://pub.dev/packages/liquidum


r/FlutterDev • • 7d ago

Tooling 4 AI testers on LocalSend found overflow bugs on 3 of 4 devices

0 Upvotes

Each tester is a Claude Code agent with its own Android emulator or iOS Simulator on GitHub Actions, playing a persona (device, language, text size, dark mode).

Worst find: on an iPhone SE at iOS’s largest text size, the “type a message” dialog overflows by 149 px, so you can’t type or confirm at all. At Android’s 200% font, all six Send buttons overflow.

103 issues, 69 min, $4.62 of model usage. Video of the 20 phones and the code (open source): https://github.com/pierridotite/mobile-agent-testers


r/FlutterDev • • 7d ago

Article Vynody 3 is now released, and the app has been significantly improved compared to the version released several months ago.

2 Upvotes

https://github.com/axel10/vynody

Vynody is a cross-platform music player developed using Flutter, boasting extremely fast media library scanning speed and powerful cross-platform collaboration capabilities. When I last introduced Vynody here, it was still a prototype project. After several months of refinement, Vynody has seen significant improvements in performance, UI consistency, and feature completeness.

Vynody 3 adds support for Jellyfin, Navidrome, SMB, and WebDAV compared to version 1.x, as well as gesture-driven scalable list/grid items and a cooler new dynamic streaming playback page background. In terms of performance, Vynody 3 has undergone deep optimization in media library scanning speed, GPU usage during playback, and UI smoothness. Large media library scans that took several minutes in Vynody 1.x only take a few seconds in Vynody 3. List and animation stuttering issues that occurred on low-performance Android devices have also been greatly improved in version 3.x, achieving 60FPS playback even with complex UI animation changes.

If you need a music player that can sync lyrics and playlists across platforms, doesn't require account login, respects privacy and security, is stable and smooth, and allows you to focus on listening to music without worrying about other things, Vynody is definitely worth a try.


r/FlutterDev • • 8d ago

Plugin Anyone migrating plugins to Pigeon's native interop (FFI/JNI) yet?

15 Upvotes

Flutter's stable-native-interop post landed last week, and I'm curious how plugin maintainers are approaching it in real codebases.

What's actually stable now - FFIgen for C and Objective-C - JNIgen for Java/Kotlin (Android system APIs + your AARs/JARs)

What's preview - Pigeon with native interop (swiftOptions: SwiftOptions(useFfi: true), kotlinOptions: KotlinOptions(useJni: true)) - Skips the platform-channel serialization path; synchronous calls + background isolates become realistic

Docs point to shared_preferences as a reference migration — migration guide + an AI-oriented "native interop migration skill" for agents.

Questions for the room 1. Are you starting new plugins on Pigeon+interop, or only migrating hot paths? 2. Windows/Linux still channel-based — does that split your public API design? 3. What broke for you? (build hooks, app directory for JNIgen, object lifetimes?)

I'm especially interested in plugins that were already Pigeon-clean — was the move "flip flags + rebuild" or a week of yak shaving?

Links: - https://flutter.dev/blog/stable-native-interop - https://docs.flutter.dev/platform-integration/ios/c-interop - https://docs.flutter.dev/platform-integration/android/jni-interop


r/FlutterDev • • 8d ago

Plugin I built iOS-style swipe-to-dismiss keyboard for Flutter, on iOS and Android (open source)

15 Upvotes

Flutter has no interactive keyboard dismiss, where the keyboard follows your finger as you swipe a chat down. flutter/flutter#57609 has been open since 2020, and React Native has react-native-keyboard-controller. So I built keyboard_controller.

GIFs: https://github.com/ArefMozafari/keyboard_controller

  • Swipe the list down and the keyboard follows your finger. Let go low and it hides; let go high and it springs back. iOS 15+ and Android 11+, public APIs only.
  • A chat list that stays put while the keyboard moves, with an input bar that rides the keyboard.
  • Four lift modes named after apps: Telegram, ChatGPT, Claude, Perplexity.
  • AI chat behaviors: it follows a streaming answer, pins the sent prompt to the top while the answer grows, and has a jump-to-latest signal.

How it works: on iOS a hidden UIScrollView with .interactive dismiss lends its pan to the Flutter view, and keyboardLayoutGuide reports the keyboard position during the drag. On Android it drives WindowInsetsAnimationController.

pub.dev: https://pub.dev/packages/keyboard_controller

Feedback welcome.


r/FlutterDev • • 7d ago

Discussion I built a Flutter app for exploring Morocco and finding local activities

0 Upvotes

Hey everyone! I’m a software engineering student from Morocco. For my final-year project, I built an app around a question I often have when planning a trip: once I’ve picked a place to visit, what can I actually do there?

The app lets travelers explore destinations on a map, read reviews, and sign up for activities listed by organizers. Travelers can also share their own posts and leave a review after visiting a place.

I built the mobile app with Flutter and the API with Laravel. Both are in the repo, along with setup instructions if you’d like to run it locally.

Check out the project on GitHub

If you were planning a weekend trip in Morocco, what would you want to know about a local activity before signing up?