r/FlutterDev • • Jul 05 '26

Discussion Integrating flutter_gemma

1 Upvotes

Hello,

In one of my apps I want to integrate flutter_gemma. In beta testing this works fine.

The question is about the scalability:

The plan is that users can download a slim version of the app from Play / AppStore, then upon approval download via direct link, a gemma model from Hugging Face. Without signing up to Hugging Face.

Did anyone tried this? Is it a scalable solution?

The alternative is to host the model on my server, however it is 4GB, and the price of the bandwitdh and storage use is higher than simply using Gemini via API so I see no reason to do it. For me, the prospect of SLMs in products, is about them being free to use.

Best,

Saar.


r/FlutterDev • • Jul 04 '26

Discussion I feel like giving up on Jaspr before I even try to learn it.

5 Upvotes

Sorry to ask here about Jaspr, I don't see any subreddit for it , a youtube tutorial etc. all I am reading is the documentation.

since I am a bit comfortable in Dart/Flutter learned riverpod and GoRoute , I just want to test the water with Jaspr..

successfully installed it and created the project.
my problem is there seem to have no hot-reload button and with Auto-save it does trigger hot-reload sometimes its not and if triggers it sometimes slow a change takes around 2~5 seconds before it even trigger auto-reload.

now, I can just reload it directly even if its tedious.. is this normal? or there is a config I need to tweak?

my biggest problem at the moment is running

jaspr serve

It does work on the first try executing it but when you close it and re-open again
[SERVER] [ERROR] Could not start the VM service: DartDevelopmentServiceException: Failed to create server socket (Only one usage of each socket address (protocol/network address/port) is normally permitted): 127.0.0.1:8181

Error like this appear.. its trying to run at port 8181 (?)

I had to taskkill /F /IM dart.exe

so I can run jaspr serve again.

does anyone know how to fix this problem? thank you.


r/FlutterDev • • Jul 04 '26

Dart How does your team handle API contracts, testing bottlenecks, and feature creep? (Flutter app, multiple products, 3+ years old)

4 Upvotes

Looking for advice on restructuring our dev workflow. Here's our current setup:

Team structure:

  • 1 Team Lead/Manager — handles backend API + database, reviews dev code (briefly), reviews UI/UX after design, and writes native code to bridge with Flutter
  • 10 Devs — write Flutter code, some also write their own native code to connect with Flutter (each dev covers multiple products, but only specific features)
  • 3 Testers — test all products + write unit tests and test cases
  • 2 UX/UI designers — design UI and review it after dev implementation
  • 1 SE — helps with testing when free from other work

We maintain 10 different products (all POS-related) with this team.

Problems we're running into:

1. API bottleneck. When a new product/feature comes in, devs get assigned to it. If they need a new API, they go to the team lead. Problem: the lead can't keep up, so APIs often arrive without being tested first. Devs then have to test the API themselves on top of their own workload — since each dev is already juggling multiple products, they only do a surface-level check (does it return 200, not whether the data is actually correct). There's also no documentation, so months later nobody remembers what an API does.

2. Test cases/unit tests arrive too late. Currently devs only get test cases after a feature/product is already built, so by the time testing happens, a lot of edge cases are missed and bugs pile up.

3. Constant new bugs, testing overload. Devs don't have time to review each other's code. The app has grown into so many features that nobody can keep track of them all, and there's no documentation. On top of that, when a client requests a feature, it goes straight to a dev with no analysis of whether it's actually necessary or how it overlaps with existing functionality. Over time this caused massive feature overlap, making settings/categories a mess to organize.

4. Technical debt from 3+ years of this. We now have recurring bugs that need repeated fixing (some issues have failed testing 5+ times) and we've had to start holding dedicated meetings just to deal with repeat/duplicate bug reports.

Has anyone dealt with a similar situation — small backend team unable to keep up with multiple product lines, testing happening too late in the cycle, feature requests going straight to devs without triage? What process changes or tools helped you the most? Would appreciate any real-world experience, not just theory.


r/FlutterDev • • Jul 04 '26

Plugin Precise Compass Package

10 Upvotes

I made a highly accurate and smooth compass package. Unlike other compass packages, this package provides continuous accuracy in exact degrees (instead of vague buckets) and includes a precise 0-to-1 confidence score. It also detects magnetic interference, features a debounced calibration system to prevent annoying UI flickering, and supports full device orientation (not just portrait).
Feel free to give your feedback

pub dev
GitHub


r/FlutterDev • • Jul 04 '26

Discussion I'm new to flutter/dart. I have web dev experience and I find the styling here too difficult. Is there any way to pick some ideas to make the process enjoying. Currently I'm struggling.

7 Upvotes

Like, I don't want to write a style multiple times, is there any option to control it like css? I tried ide code assistants help, but still I feel like I wanted to learn this.


r/FlutterDev • • Jul 03 '26

Tooling Scanify

4 Upvotes

Hey everyone,

I was tired of dealing with shady, ad-heavy QR code generators online that put basic features behind paywalls or steal user privacy. To solve this, I built Scanify—a clean, completely free, and open-source mobile tool for scanning and creating codes.

The project is built entirely with Flutter, and I wanted to make sure it functions as a rock-solid production reference rather than just a basic tutorial project.

Key Features Built-In:

  • Multi-Code Detection: The live camera feed doesn't stop at one; it scans and processes multiple QR codes or barcodes simultaneously in a single frame.
  • Zero-Cost Interactive Mapping: Instead of hooking up heavy, paid Google Maps APIs, I built a self-contained location picker using free OpenStreetMap tiles (flutter_map) to safely generate geographic codes.
  • Permanent Assets: All generated codes (Wi-Fi, social profiles, vCards) are static and stay active permanently.
  • Local-First Privacy: All scan history is cached strictly on the device using Hive.

What's Next (Roadmap):

I'm currently architecting an enterprise feature to allow users/logistics companies to inject their own Custom Corporate Decoders/Parsers (e.g., parsing custom regex formatting patterns for internal warehouse management).

The project is fully open-source under GPL-3.0. I’d love for junior devs to inspect the multi-scan architecture, and I welcome any feedback or contributions on the codebase!

⭐ GitHub Repository: https://github.com/Jo0X01/Scanify


r/FlutterDev • • Jul 03 '26

Discussion How to track pending consumable transactions in Flutter + RevenueCat?

2 Upvotes

Hey everyone,

How do you handle pending transactions for consumables in Flutter using RevenueCat? (Specifically Google Play delayed payments/slow cards that approve or reject after a few minutes).

When the transaction goes pending, RevenueCat doesn't provide a transaction ID to track it client-side.

Looping through customerInfo.nonSubscriptionTransactions on every app launch doesn't feel foolproof (the historical array grows infinitely, cache issues, etc.).

What is the standard architecture for this? Is using server-side Webhooks the only real way to handle this securely, or is there a robust client-side flow I'm missing?


r/FlutterDev • • Jul 02 '26

Article Signals Are Coming for Flutter State Management. Should You Care? | by Muhammad Usman | Jul, 2026

Thumbnail
ottomancoder.medium.com
30 Upvotes

(Not my article, but a good summary.)


r/FlutterDev • • Jul 03 '26

Podcast The latest episode of the It's All Widgets! Flutter Podcast with Divyanshu Bhargava is now available 🚀

2 Upvotes

Divyanshu is a Flutter GDE and the Co-Founder of stac.dev where he's building a Server-Driven UI framework to change how Flutter apps ship ✨

https://itsallwidgets.com/podcast/episodes/57/divyanshu-bhargava


r/FlutterDev • • Jul 03 '26

Discussion After a week of writing down everything I did, I realized how little of my Flutter job is actually writing Dart

0 Upvotes

I've been prepping for a performance review and hit the usual wall — I genuinely couldn't remember what I'd shipped six months ago. My commit history was no help, because half my real work never lands in a commit.

So for one week I logged every meaningful thing I did, one line each, as it happened. A normal week looked like this:

  • Reviewed a big Bloc migration PR — caught a Cubit that never got closed, would've leaked on every screen push. Didn't write a line of it.
  • Lost a morning to an Android-14-only release crash (R8 stripped a model class). Fixed it, shipped a new build. Zero commits.
  • Talked a designer out of a custom page transition so onboarding felt native on both platforms.
  • Unblocked a teammate on iOS universal links — the AASA file was cached on Apple's CDN.
  • Paired a new hire through their first platform channel (battery level from native).

Two of my most valuable days that week produced no code at all. If you judged the week by GitHub, it'd look empty — which is exactly the problem at review time.

The method, steal it (no tool required):

  1. Log as you go, not at review time. One line, ~10 seconds, when it happens — notes file, Notion, whatever. The trick is doing it in the moment; nobody reconstructs six months accurately.
  2. Capture what git can't: reviews, incidents, mentoring, store/release fights, design calls. Rule of thumb — if it took real effort and moved something, it counts, even with no diff.
  3. Turn lines into review bullets with action → context → impact. "Fixed a bug" is invisible. "Fixed a silent retry bug dropping ~2% of uploads → cut support tickets 30%" does the work for you. Run your best 5–10 through that and half your self-review is written.

Question for the room: how do you all remember what you actually did by review/promo time — keep a running brag doc, or reconstruct it from PRs and Slack the week before? Curious what actually works for people.

(Disclosure, since it's relevant: doing this by hand annoyed me enough that I'm building a tiny app for it — happy to share if anyone wants, but the method above needs zero tools and that's the point.)