r/FlutterFlow

▲ 3 r/FlutterFlow+1 crossposts

Made a CLI that fails CI when someone imports data/ from presentation/, looking for feedback

Hi all, I'm the author of arch_guard, an open-source (MIT) CLI + analyzer plugin for Dart/Flutter.

The problem: we agree on Clean Architecture / Bloc / feature-first at the start, and a few months later widgets import repository implementations directly and features import each other. The analyzer and tests don't catch it.

What arch_guard does:

  • Layer rules with presets for clean_architecture, riverpod, bloc and feature_first. dart run arch_guard init detects which fits your folders and writes the config.
  • Forbidden packages per layer, e.g. domain may not import flutter or dart:io.
  • Circular dependency detection (Tarjan's SCC) that names the one import to remove to break each cycle, plus --explain <file>.
  • IDE warnings with quick fixes via the arch_guard_lint analyzer plugin: the bad import gets underlined as you type, with "Remove this import" / "Allow layer X to import Y".
  • Baselines: record existing problems once, and CI fails only on new ones. --since origin/main limits a PR's report to files it changed. This is what makes it usable on an app that's been around for years.
  • expectArchitecture() to run the same checks in flutter test.
  • GitHub Action that comments on PRs, SARIF for Code Scanning, pre-commit hook.
  • Interactive HTML dependency graph (offline), Mermaid, DOT, JSON.
  • Works with Dart workspaces / Melos monorepos, with rules for which packages may depend on which.
dart pub add --dev arch_guard
dart run arch_guard init
dart run arch_guard

[screenshot / GIF]

Docs: https://creatorpiyush.github.io/arch_guard/ pub.dev: https://pub.dev/packages/arch_guard GitHub: https://github.com/creatorpiyush/arch_guard

Two questions for you:

  1. What folder structure does your team use? I'd like to know which presets are missing.
  2. For those who try the IDE plugin: which quick fix would you want next?
reddit.com
u/creatorpiyush — 4 days ago

FlutterFlow 'Desktop App' Artifacting

Ever since updating the FlutterFlow app earlier this week, I believe on the 6th of October, the FlutterFlow 'desktop app' has been artifacting and is completely unusable.

I have tried uninstalling and reinstalling several times and have not faced any issues with the app prior to this.

Has anyone experienced a similar issue, and if so how can I fix it?

I'm on Sonoma 14.5, 2.4ghz Intel i9 8 Core, Radeon Vega 20 Pro 4GB, 32GB 2400mhz DDR4 RAM.

reddit.com
u/Dopamemes — 6 days ago

DId anyone else's font awesome icons stop working after the update?

The material icons work fine, just the font awesome ones are freaking out.

reddit.com
u/Uynia — 7 days ago

Dynamic Links are back in FlutterFlow

Firebase Dynamic Links going away left a pretty tough gap for mobile apps, so we built our own.

You can now create short, shareable links in FlutterFlow that open your app directly to a specific page with whatever parameters you need.

If the person doesn't have your app installed yet, the same link can send them to the App Store, Google Play, or your web app instead.

So things like:

  • referral links
  • user invites
  • sharing a specific product, post, profile, etc.
  • deep linking into a particular part of your app

You can also track clicks and app opens for each link! :)

u/CommunityTechnical99 — 9 days ago

🚀 No Stupid Questions Wednesday – Ask Us Anything About FlutterFlow!

Hey r/FlutterFlow community! 👋

We’re Calda, a mobile and web development agency and FlutterFlow experts. We know how tricky it can be to navigate FlutterFlow, whether you're just starting out or working on an advanced project. That’s why we’re continuing with the "No Stupid Questions Wednesday" – a space where you can ask ANY FlutterFlow-related question without fear.

💡 How it works:
- Every Wednesday, drop your FlutterFlow questions in the thread.
- No question is too small, too simple, or too complex.
- We (and the awesome community) will do our best to help!

Whether you're stuck on database setup, UI tweaks, API integration, or just want to bounce off ideas – this is your space.

Our website and links for reference: https://www.thecalda.com/

u/LowerChef744 — 8 days ago

SQLite in FlutterFlow: three silent failure cases I've encountered

I have been using SQLite in a FlutterFlow app for several months and have spent a lot of time troubleshooting various issues, specifically those involving SQLite operations that don't throw explicit errors but simply fail to work or cause malfunctions. The following information might save time for others facing similar situations:

  1. In queries defined within the FlutterFlow SQLite panel, parameters must be written in the ${name} format. If you use ?, the value isn't passed correctly; consequently, the WHERE clause fails to filter anything, leading to incorrect results or no results at all. It is important to note that ${name} inserts the text exactly as is (literally); therefore, an apostrophe or any other special character in the search term can break the query.

  2. Write operations: rawQuery is intended for read operations, so executing an INSERT, UPDATE, or DELETE command via this method might fail without generating visible errors. Within a Custom Action, it is preferable to use rawInsert, rawUpdate, or rawDelete (FlutterFlow already distinguishes between read and update queries in its interface).

  3. Updates and new versions: users update the app from various and not always sequential versions. Consequently, it is advisable to use ALTER TABLE only for columns that allow null values or have a default value. Since it is impossible to know the user's starting version, it is crucial to verify that the column does not already exist before adding it; a simple check can prevent issues related to these schema changes.

What other instances of silent errors with SQLite in FlutterFlow have you encountered? I’d be curious to know.

reddit.com
u/bramantec — 13 days ago