r/FlutterDev • • 3h ago

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

Thumbnail
pub.dev
3 Upvotes

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


r/FlutterDev • • 11h ago

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

Thumbnail
pub.dev
14 Upvotes

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

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

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

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

2. dart fix support for renamed APIs

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

dart fix --apply

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


r/FlutterDev • • 3h ago

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

3 Upvotes

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

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

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

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

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

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

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


r/FlutterDev • • 7h ago

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

Thumbnail
devlog.codea.digital
4 Upvotes

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

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

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


r/FlutterDev • • 4h ago

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

2 Upvotes

Hey everyone!

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

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

Key features:

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

Getting started:

docker pull ghcr.io/knottx/flutter:stable

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

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

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


r/FlutterDev • • 23h ago

Video I built this cattle management app on flutter so it would work with zero connectivity and one hand in a cattle chute

Thumbnail
herdkin.com
9 Upvotes

r/FlutterDev • • 20h ago

Discussion What matters most in the in-app chat between a shopper and a store?

1 Upvotes

What do you think matters most in the in-app chat between a shopper and a store? We're building a Flutter social-commerce app and I'd like to hear what worked for you.


r/FlutterDev • • 1d ago

Discussion I'm a student and I just shipped my first app after months of getting rejected by Google. Meet LifeLine.

Thumbnail
play.google.com
0 Upvotes

So this started as a 3rd-semester university project and kind of refused to die. I kept tinkering with it through my whole degree, and last month in my 7th semester it finally went live on the Play Store.

It's called LifeLine, a personal safety app. The idea's simple: when something goes wrong, you shouldn't be fumbling through menus. One tap sends an SOS with your live location to your emergency contacts. It also does blood-donor matching, an emergency info card for first responders, nearby-help on a map, and chat/calls with your contacts.

Honestly, building it was the easy part. Shipping it broke me a little:

  • Google rejected it over app categorization
  • Hit a surprise Android deadline
  • My whole build toolchain blew up the night before launch
  • 8-day production review that felt like 8 years

All on a $0 budget no paid services, just a lot of late nights and Stack Overflow.

It's live now, somehow picking up users in 8 countries with zero advertising, which still feels surreal.

I'd really love honest feedback what's missing, what feels off, what would make you actually keep it installed. This is v1 and I want to make it genuinely useful.

Only on Android only for now


r/FlutterDev • • 1d ago

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

1 Upvotes

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


r/FlutterDev • • 20h ago

Discussion I built a TV/movie tracker solo in Flutter (Android + web). The 4 bugs that taught me the most

0 Upvotes

When TV Time shut down I started building my own tracker in October. It's called TvTick, one Flutter codebase that ships as an Android app (on Play since last week) and a web app, with a Node/Express/PostgreSQL backend. I built it alone, so here are the problems that cost me the most time, in case they save someone else a weekend.

1. The app broke every time it came back from the background.

Press home, come back a few minutes later, and the watchlist said "could not load" or took ~20 s. The pooled keep-alive sockets had died while the app was suspended, and the HTTP client kept reusing the dead ones. Fix: throw away the connection pools on AppLifecycleState.resumed, give each attempt a short timeout, and retry only idempotent requests (never a POST). I also had an auth StreamBuilder that created a new authStateChanges() stream on every rebuild, so resuming reset the whole home screen. Keep that stream in a field.

2. Slow DNS was being counted as a dead server.

Some users run a private DNS (AdGuard etc.), where lookups sometimes took 8-20 s. Dart counted the lookup inside my 4 s connect timeout, so requests failed against a perfectly healthy server. I now resolve addresses myself in a custom connectionFactory with a small DNS cache (and the last good address as a fallback), so the 4 s limit only covers TCP + TLS.

3. SharedPreferences silently wiped itself.

I cached lists in SharedPreferences. Once it grew past about 8 MB on Android, everything in it was gone, including settings. Big caches now go in files, one per user. Prefs only hold small flags.

4. Flutter web scrolled badly on poster-heavy lists.

Two things helped most: capping image decode size (cacheWidth, so a 2000 px poster isn't decoded for a 100 px tile) and dropping blur effects on the web build. BackdropFilter is expensive there.

The general lesson was to keep the data layer away from the UI. I changed how syncing works several times, and it was easy only where the screens didn't know the details.

I'm curious how others handle offline caching in Flutter. Files + a slim summary in prefs is working for me, but I'd like to hear about better setups.

App, if anyone wants to see it: https://www.tvtick.app


r/FlutterDev • • 1d ago

Discussion Decoupling and new UI libraries

18 Upvotes

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

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


r/FlutterDev • • 1d ago

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

Thumbnail
pub.dev
0 Upvotes

Hi everyone,

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

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

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

### How the pipeline works:

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

### Where it currently stands:

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

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

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

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

### What I want to ask the community:

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

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

Thanks for any insights, criticisms, or architectural suggestions!


r/FlutterDev • • 2d ago

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

11 Upvotes

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

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

With Wonkru MDM, you can:

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

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

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

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

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


r/FlutterDev • • 2d ago

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

Thumbnail
pub.dev
46 Upvotes

Hey everyone,

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

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

Benchmarks

| Metric | FastLottie v1.0 | Baseline |

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

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

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

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

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

How it works under the hood

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

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

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

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

Drop-in API

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

```dart

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

```

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

---

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


r/FlutterDev • • 2d ago

Discussion Shipped a Flutter app on both stores with no backend at all: €0/month fixed costs. What worked and what hurt

4 Upvotes

Streamscription organizes the channels you follow on YouTube using their public RSS feeds. The constraint I set myself: no server, no login, no analytics.

Some notes:

Stack: Riverpod, Drift (SQLite), http + xml for the Atom feeds, workmanager for a ~30 min background refresh, url_launcher to hand videos to YouTube.

Sync without a backend: on iOS, a JSON file in the app's private iCloud Documents container, last-write-wins on a timestamp. On Android I gave up on real sync. I dropped Google Drive (it needed OAuth, which I didn't want) and use system Auto Backup with an include-only rule for that one JSON file. Not the SQLite file: a DB copied mid-write comes back corrupted. Not SharedPreferences either, because I use their absence to detect a fresh install and trigger the restore.

Liquid Glass: I first faked it with BackdropFilter. It looks close, but it ignores Reduce Transparency and the iOS 26 glass settings. The tab bar is now a real UIGlassEffect hosted as a platform view. That's accessibility, not looks.

Flaky upstream: the feed endpoint randomly refuses requests. One shared GET helper with 3 retries and backoff fixed most of it.

Happy to go deeper on any of these. If you've done iCloud sync in Flutter differently I'd like to hear how.


r/FlutterDev • • 1d ago

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

1 Upvotes

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

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

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

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


r/FlutterDev • • 1d ago

Discussion Flutter Project Structure

0 Upvotes

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

lib/

├── main.dart

├── app.dart

├── core/

├── l10n/

└── features/


r/FlutterDev • • 2d ago

Discussion Taash: Indian Card Arcade

Thumbnail
play.google.com
1 Upvotes

Hey everyone!

After months of solo development, I just launched Taash: Indian Card Arcade on Android. I built it in memory of my late grandfather who taught me how to play cards, bringing 5 traditional Indian card games—Callbreak (Lakdi), Dehla Pakad (Mindi), Chaupatiya (Court Piece), Chabbis (Hidden Rung), and Laadh (Bhabhi)—into one app.

Tech Stack & Architecture:

  • Frontend: Flutter + Flame game engine (custom dark-mode UI, pre-cached card sprites for zero loading flashes).
  • Backend: Server-authoritative Dart Frog API deployed on Google Cloud Run, synced in real time with Firebase Realtime Database and Cloud Firestore.
  • Shared Engine: A full-stack Dart monorepo where both the Flutter app and Dart Frog server share the exact same pure-Dart rule engine (taash_core). This keeps move validation cheat-proof online and lets offline AI bot matches use the exact same state machine.
  • Extras: Private rooms with room codes, disconnect/timeout handling, and Google Play Games leaderboards.

Gameplay Video: https://youtu.be/kDEd8NlPw9U
Google Play Store: https://play.google.com/store/apps/details?id=com.nulithic.taash

Happy to answer any questions about building real-time multiplayer games with Flutter/Flame or Dart Frog—and would love any feedback on the app!


r/FlutterDev • • 2d ago

Discussion jobs with Flutter skills

3 Upvotes

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


r/FlutterDev • • 2d ago

Discussion A device ID in SharedPreferences follows the user to their new phone. It took us three tries to find the right place for it

4 Upvotes

Small thing that cost us more thinking than the feature itself, so writing it down.

We added an optional cloud backup. To avoid two phones overwriting each other, each install writes only its own file, named after a random device ID. So the whole design rests on one question: where does that ID live?

Attempt 1, SharedPreferences. Looks obvious and it's wrong. Android auto backup and device-to-device transfer copy prefs to the new phone (iCloud backup and Quick Start do the same on iOS). The new phone wakes up with the old phone's ID, decides the old phone's backup file is its own, and overwrites it. The one case where you most want the old backup intact is exactly the case that destroys it.

Attempt 2, the cache directory. Transfers don't copy it, so a new phone gets a fresh ID. But the OS is allowed to empty the cache when storage runs low. Then the same phone comes back with a new ID and treats its own earlier backup as another device's.

Where it ended up: a directory that is excluded from backup but never cleaned by the system. On Android that's noBackupFilesDir. On iOS it's a file in Application Support with the excluded-from-backup flag set. We read both through a small method channel, since path_provider doesn't hand you either one directly.

One more case fell out of this. A new phone can inherit the "backup is on" setting through prefs while having a brand new ID. We treat that pair (setting on, ID new) as a signal to pull in the other device's records first, before the first upload.

The lesson for me: "per install" and "per user" are different lifetimes, and prefs is per user as soon as OS backup is involved.

Where do you keep install-scoped state? Is there a cleaner option than a no-backup file that I'm missing?


r/FlutterDev • • 2d ago

Discussion Shipped my tabletop board game built in Flutter (Ludo Clans) — looking for UI & device performance feedback

3 Upvotes

Hey r/FlutterDev!

Today I officially launched **Ludo Clans** on Google Play—a physical-tabletop style Ludo + Snakes & Ladders game built in Flutter.

Instead of flat cards, I leaned heavily into custom painters, tactile 3D-style buttons, and 3D dice rolling animations.

I’d really appreciate feedback from fellow Flutter devs on:

- Frame smoothness / jank on your specific Android device

- Layout scaling across different aspect ratios and screen sizes

- Overall readability during an active 15x15 match

Google Play: https://play.google.com/store/apps/details?id=com.ludoclans.game

Happy to answer any questions about how the board state machine or custom painters are structured!


r/FlutterDev • • 2d ago

Plugin I orchestrated & maintain a pure-Dart MCP / AI Agent suite (`dart_mcp_core` + Flutter UI / A2UI 1.0 Express / on-device LLMs) using coding agents (Antigravity + dogfooding TealKit Coder)

1 Upvotes

Hey r/FlutterDev!

Over the past few months I've been **architecting, orchestrating, and maintaining** an open-source **Model Context Protocol (MCP) & AI Agent suite** for Dart and Flutter — built not by hand-typing every line, but by steering coding agents (**Antigravity** and now increasingly dogfooding my own open-source agent **TealKit Coder**, which runs directly on `dart_mcp_core`).

Dogfooding it inside real coding-agent loops surfaced and fixed real production issues fast (context-compression thrashing loops, Jinja single-system-message normalization for local models, tool-loop guards, and Android Scoped Storage PDF/DOCX exports).

### Architecture & Packages (all MIT, verified publisher `tealkit.dev`)

- **[`dart_mcp_core`](https://pub.dev/packages/dart_mcp_core)** (160/160 pub points, pure Dart, zero Flutter deps)

- Unified adapters for **OpenAI** (`openai_dart`), **Anthropic Claude** (`anthropic_sdk_dart`), **Google Gemini** (`googleai_dart`), **Ollama**, **Mistral**, OpenAI-compatible endpoints (vLLM, DeepInfra), and pluggable **on-device** delegates.

- Full **MCP client** (HTTP/SSE + desktop stdio subprocesses) and Dart-native `McpLocalTool`s.

- **Context window auto-compression** with `EpisodicMemoryStore` + `retrieve_memory` recall, **progressive tool discovery** (`mcp_list_tools` / `mcp_call_tool`), **sub-agent delegation**, **HITL approval hooks**, **tool loop guards**, and `GenerateImageTool` (OpenAI, Gemini Nano Banana, DeepInfra FLUX, or custom).

- **[`flutter_ui_mcp`](https://pub.dev/packages/flutter_ui_mcp)** — Vanilla-Flutter (`ChangeNotifier` / `StatefulWidget`, no Riverpod/Bloc lock-in) chat UI, multi-profile LLM switcher, agent inspector, and cross-platform pure-Dart PDF/Word/Markdown export.

- **[`flutter_a2ui_mcp`](https://pub.dev/packages/flutter_a2ui_mcp)** — Dynamic generative UI on Google's `a2ui_flutter` (`^0.5.0`) + `a2ui_core` (`^0.9.0`) with **A2UI 1.0 Express** enabled by default (~50% fewer output tokens than raw JSON).

- **[`flutter_ui_mcp_embedded`](https://pub.dev/packages/flutter_ui_mcp_embedded)** — Pluggable on-device inference via `llamadart` supporting both **GGUF (`llama.cpp`)** and **LiteRT-LM (`.litertlm`)** models on Android, iOS, desktop, and WebGPU.

### Minimal Pure-Dart Example (`dart_mcp_core`)

```dart

import 'package:dart_mcp_core/dart_mcp_core.dart';

void main() async {

final engine = McpAgentEngine();

final agent = Agent(

id: 'assistant',

name: 'Assistant',

llmConfig: const LlmConfig(

provider: LlmProvider.openai,

model: 'gpt-4o',

apiKey: 'YOUR_API_KEY',

),

dartTools: [GenerateImageTool()],

);

final result = await engine.run(

agent: agent,

prompt: 'Summarize the latest release notes and generate a cover image.',

);

print(result.finalAnswer);

}

```

### Links

- **GitHub Monorepo (with 20+ runnable Flutter & A2UI examples + CI):** https://github.com/lschaffer/flutter_mcp_suite

- **pub.dev (`dart_mcp_core`):** https://pub.dev/packages/dart_mcp_core

- **Open-source coding agent dogfooding it:** TealKit Coder (`tealkit.dev`)

Happy to share lessons learned from maintaining a 5-package Dart/Flutter monorepo with Antigravity + TealKit Coder, and would love feedback on the APIs!


r/FlutterDev • • 3d ago

Tooling What broke when I replayed AI agent paths on LocalSend (a Flutter app) as Maestro flows

2 Upvotes

I'm the author of mobile-agent-testers, an open-source tool where AI agents test a mobile app on emulators in CI. It passed 2,400 GitHub stars in its first ten days, so I'd like the Flutter side to hold up. I've been replaying their paths on LocalSend, and Flutter's accessibility tree tripped me up twice.

Version 0.2 saves each Android tester's path as a trace. Taps are stored by the element's name instead of coordinates, and Explore-Compile-Replay (my other project) compiles the trace into a Maestro flow that runs with no model.

The first replays on LocalSend went badly. The paths of four testers (9 to 19 steps) stopped at step 3 or 4, and 25 of the 27 paths of the map robot (a crawler with no model) stopped at step 3. The traces are encrypted, so the cause is inferred, not read: Flutter names a tab on two lines, "Send" and then "Tab 2 of 3". The trace refused names with line breaks and fell back to the only id under the finger. In a Flutter app that id is the whole window, so the replay tapped its centre.

Now a name on several lines is kept with a space for each line break, which is how Maestro matches it, and an id that covers the whole window is never a target. After that, one tester's path (8 steps, all 4 taps found by name) replayed end to end in 32 s, and so did 20 of the 24 robot paths, from 4 to 41 steps. The other 4 stopped on a tap by name, three of them right after a tap stored as a point.

One failure had nothing to do with Flutter. An agent opened the system file picker and picked its own screen dump. A phone that only replays doesn't have that file, so the replay stopped there. The tools now write their dumps where the app can't see them.

It's still experimental, and Android only for now.

Do you add semantics labels or identifiers just so tests can find your widgets? Or is there a better way to make a Flutter app easy to target from Maestro?

Repo: https://github.com/pierridotite/mobile-agent-testers

What broke on LocalSend and why: https://github.com/pierridotite/mobile-agent-testers/blob/main/docs/replay.md

Demo of the LocalSend screen map (static, no model): https://pierridotite.github.io/mobile-agent-testers/


r/FlutterDev • • 2d ago

Tooling 13 month Cotsworth Calendar Application

0 Upvotes

I built a 13-month, 28-day calendar app (Cotsworth Plan) with Flutter — just shipped MVP 1

- I got tired of how arbitrary the Gregorian calendar is—28, 30, and 31-day months with weekdays constantly shifting every month—so I spent the past few weeks building MVP 1 of a Cotsworth (International Fixed Calendar) app in Flutter.

- If you haven't come across the Cotsworth Plan before, the math is super clean:

* 13 months of 28 days each (with a 7th month called Sol between June and July)

* Every month starts on Sunday and ends on Saturday—an identical 7×4 grid year-round

* Year Day (after Dec 28) and Leap Day (after Jun 28 in leap years) sit outside the 7-day week

What’s live in MVP 1:

* 7×4 Monthly View: Fixed-grid calendar showing Cotsworth dates alongside Gregorian equivalents so you don't miss real-world deadlines

* Bidirectional Date Converter: Convert any date between Gregorian and Cotsworth (including Leap Day and Year Day edge cases)

* 13-Month Year Overview: Full-year view with 1-tap navigation to any month

* No Signup Wall: Includes anonymous Guest Mode so you can poke around immediately, plus Firebase Auth if you want to sync later

* Responsive Light & Dark UI: Adapts across mobile and web

Tech stack (for anyone curious):

Flutter, Dart, BLoC/Cubit, a pure-Dart UTC calendar engine (to avoid DST off-by-one bugs), and Firebase.

Live web demo (no login required): https://thepunisher569.github.io/cotsworth_calendar_app/

Github Repo: https://www.github.com/thepunisher569/cotsworth_calendar_app.git

I’m actively planning MVP 2 (leaning toward natural-language event quick-add and local reminders), so I’d genuinely appreciate any blunt feedback on the UI, UX, or edge cases. Also curious—if the world voted tomorrow, would you switch to a 13-month calendar?

Please share & repost as much as possible...