r/FlutterDev • • 18h ago

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

0 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 • • 17h ago

Discussion Decoupling and new UI libraries

11 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 • • 2h 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 • • 15h 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/