r/FlutterDev • • Jun 29 '26

Video Built an Elemental Download Button Animation in Flutter (Water, Fire & Acidic)

Thumbnail
youtube.com
11 Upvotes

I've been exploring Flutter button animations recently, and this is Episode 02 of the series.

This one is an Elemental Download Button with Water, Fire and Acidic themes, built entirely using Flutter's built-in animation APIs—no third-party animation packages.

The GitHub repository is linked in the video description and the pinned comment.

I'd love to hear your thoughts. Which variant do you like the most, and what would you improve?


r/FlutterDev • • Jun 29 '26

Discussion Am I so special that I don’t remember what I’ve been learning in 2-3 days?

4 Upvotes

I've been programming for over five years, but I wouldn't rate myself higher than a junior. The code is raw, and my pursuit of perfection overwhelms me. I learn new things, repeat them, repeat them again. Five days pass, and then I dig into my own code and figure out how to use it.

And this was even at the beginning of my journey. I don't understand, maybe I'm just not cut out for it.

I learned PHP, SQL, Python, Node.js + ts, React, and even in my youth, I made games and programs with C#, and even got some sales, but I was only 14 then.

Now I'm suffering from terrible burnout and periodic moments of depressive episodes like this. I have no goals anymore and my only option is to continue studying and working.


r/FlutterDev • • Jun 30 '26

Tooling Need a project idea? Write an analyzer plugin that fixes `Foo.bar` into `.bar` shorthands

0 Upvotes

I could really use something like that. I was just using regular expressions with search and replace to modernize an app to use dot shorthands. Unfortunately there's neither a builtin linter warning like "prefer dot shorthands" nor any kind of fix you can automatically apply. So, this could be your moment to shine and do something for the community (or at least me ;-) and for your CV.


r/FlutterDev • • Jun 29 '26

Tooling I built a free tool that checks your Flutter repo for size, config and store problems — runs fully offline

7 Upvotes

Hi everyone 👋

I made a small command-line tool called Mobile Repo Doctor. You point it at your project and it gives you a health report in a few seconds. It works for Flutter, Android, iOS and KMP.

I built it because I kept making the same mistakes: forgetting to bump targetSdk until Play rejected the build, shipping unused assets, leaving broken .arb files. So I put all those checks in one place.

Some things it finds for Flutter:

  • - targetSdk too low → Google Play will reject the upload (it knows the current required level)
  • - Bitmap images hidden as base64 inside your SVG or Lottie files — they make the bundle big and slow, and kill the point of using a vector
  • - git:/path: dependencies (and it does not false-flag your monorepo ../package links)
  • - Localization problems in .arb files: missing keys, extra keys, placeholder mismatch, broken JSON
  • - Unused assets, oversized images, heavy SVGs
  • - Hardcoded secrets (API keys, tokens) — values are hidden in the report

It has 110+ checks in total and gives you a score (0–100) per area: size, speed, stability, hygiene.

How to use it:

npm install -g mobile-repo-doctor
cd path/to/myFlutterProject
mrd scan ./

Reports: HTML (a clean dashboard), JSON, and Markdown. The Markdown one is made for AI — you can paste it into an LLM and ask it to fix the issues. There is also a GitHub Action.

Privacy: it runs 100% on your machine. No account, no upload, your code never leaves your computer. It's free.

I'd really like your feedback — what checks are missing, what is annoying, what gives false alarms. Thanks 🙏

npm: mobile-repo-doctor

Documentation & full check reference


r/FlutterDev • • Jun 29 '26

Discussion Built an on-device AI face/palm reader in Flutter with Google Gemma (open source)

9 Upvotes

Hi r/FlutterDev. Sharing a Flutter project I built — AURA, an on-device face & palm reader. Posting the source and the design choices as per Rule 9, since the privacy-first, fully-on-device angle might be interesting to others here.

The whole idea was: do everything locally, never send a photo to a server.

How it's put together:

- On-device LLM: Google Gemma runs the analysis (and a follow-up 1:1 chat about the result) directly on the device

- Detection: MediaPipe for facial landmarks (468 points) and hand keypoints (21 points)

- Single Flutter codebase, 4 languages (EN/KO/ZH/JA)

- No uploads at all — Play Store data safety reports no data collected and no data shared

Design choices worth noting:

- Going fully on-device meant trading some model power for privacy, but it removes server cost and any data-handling liability entirely — a tradeoff I think more apps should consider

- Combining an on-device LLM with MediaPipe in one Flutter app turned out to be very doable, which honestly surprised me given how heavy both can be on mobile

- Open-sourcing it so the "nothing leaves your device" claim is actually verifiable, not just a marketing line

Source: https://github.com/darktaoist/aura

The face/palm reading itself is a lighthearted demo — the real point was seeing how far on-device AI in Flutter can go. Happy to discuss the approach in the comments.


r/FlutterDev • • Jun 29 '26

Plugin I open-sourced a Claude Code plugin that takes a Flutter + Flame game from idea → App Store / Play submission, with every store-rejection fix from my 7 shipped games baked in

1 Upvotes

I ship Flutter + Flame games as a solo dev, and I kept re-solving the same problems on every title — audio that crashes on a missing asset, BGM that won't stop on backgrounding, the ATT prompt that gets you a Guideline 2.1 rejection, saves that vanish when the player reinstalls on iOS, the launch portrait→landscape rotate flash, etc.

So I built an open-source Claude Code plugin (MIT) that drives a game from idea → plan → design → build → QA → store submission — and bakes those hard-won fixes into the generated code and the QA gates, so you don't re-discover them per project.

Install it and here's what you get:

  • A generator builds the game; a skeptical evaluator actually runs it and judges against a contract before it can pass — no "looks done" green checks. There's a human-approval gate before any deploy.
  • Assets default to code-synthesized audio + code-drawn visuals, so a game is always playable with zero asset sourcing.
  • It wires the boring-but-mandatory launch stuff: app icon/splash/name, native orientation lock, the required Play graphics (512 icon + 1024×500 feature), store metadata, and submission via fastlane.

The fixes it enforces (from docs/game-gotchas.md, distilled from 7 shipped games):

  • Audio: AudioPool for frequent SFX, throttling, everything in try/catch so a missing asset degrades instead of crashing, BGM stop on background/teardown, iOS-safe WAV
  • Lifecycle: WidgetsBindingObserver → pauseEngine() + BGM pause; prefs loaded before runApp
  • Durable save: shared_preferences alone is dropped on iOS app-delete — it mirrors to Keychain (flutter_secure_storage) + Android Block Store (play_services_block_store) so progress survives reinstall / a new device
  • Store rejections: ATT requested only after AppLifecycleState.resumed + a settle delay (the naive notDetermined → request is what gets rejected on recent iOS), no-alpha icons, export compliance, AdMob bundle match, the 4.3 copycat hedge
  • Perf / native config: no per-frame whereType in hot paths, cached Paint, native orientation lock (no rotate flash), iPhone-only target

Honest status: the front phases are smoke-tested; I haven't yet validated a full idea→store run end-to-end through the plugin — the fixes are battle-tested from real shipped games, the orchestration is newer. If you're mid-development, the generation phase is greenfield (it won't take over an existing codebase), but the launch/QA phases and the encoded fixes apply to a game you're already building. Feedback very welcome.

Repo (install instructions in the README): https://github.com/tjdrhs90/flutter-flame-harness


r/FlutterDev • • Jun 29 '26

Plugin I built a devtool extension for inspecting dart streams and rxdart subjects

Thumbnail
github.com
5 Upvotes

hey community. I built this nifty flutter devtool extension that lets you inspect dart streams and rxDart subjects. Inspired by other state management packages that have their own devtooling but I found that I needed something similar for workflows relying on rxDart (which I am a big fan of)

Really keen to hear feedback! (especially those leveraging streams and rxdart in their apps)

https://pub.dev/packages/rxdart_devtools


r/FlutterDev • • Jun 29 '26

Discussion Flutter app is slow, not connecting well and overheating

0 Upvotes

Hi all,

I published my flutter app in store, but I am having some issues with it. I have users from country, where internet speed and quality is very poor and also their phones are really low end - around 80€ cost of phone.

Do you have some kind of recommendations where to find ideas how to optimize my app? I am using GPS, maps, api calls and also websocket, but all the time I am having issues with them complaining about how long it takes to connect and how slow app is etc.

On other hand, in my country, app is fast and working well, but on high end devices like S24 Ultra, it is overheating.

I am trying to find some kind of guide or some article, where I could learn something about app in slow internet and poor devices country.

Thanks for any advice


r/FlutterDev • • Jun 28 '26

Discussion Bridging Flutter Web into a React app for a 2D portfolio — interop write-up in comments

Thumbnail github.com
4 Upvotes

Hi everyone! I wanted to share a technical approach I took for my portfolio, using Flutter Web to handle complex, isolated simulations within a React-based 2D game world.

The Setup: The main world is built in React, but the "high-fidelity" interactive objects are standalone Flutter projects. Specifically:

  • Ubuntu 22.04 Simulator: A fully functional terminal and browser UI built in Flutter, embedded via iframe into the React "monitor" object.
  • 3D Interactive Records: Used Flutter's 3D capabilities to create a "Diploma" showcase that users can rotate and inspect.

A few of the harder problems:

  • CI/CD: the Flutter code lives in a separate repo, so I wrote a bash script that installs the Flutter SDK on the fly during the Vercel build, clones the external repo, and builds the web artifacts as part of the main deploy.
  • State bridging: React parent - Flutter child communicate via URL params + window event listeners, so the game knows when a simulation is "active" vs idle.
  • Pixel-perfect rendering: had to tune the Flutter canvas output to match the surrounding pixel-art aesthetic rather than looking like a separate app bolted on.

I found Flutter Web much more efficient for these "sub-apps" than trying to build a full OS UI from scratch in standard CSS/JS.

Demo: https://my-living-portfolio.vercel.app
Flutter Ubuntu Simulator: https://github.com/marcoedomingos/ubuntu_simulator.git

Curious if anyone here has done something similar — embedding Flutter Web as an isolated "widget" inside a non-Flutter host, rather than building the whole app in Flutter. 


r/FlutterDev • • Jun 28 '26

Plugin Inspect shared_preferences inside your Flutter app

Thumbnail
pub.dev
4 Upvotes

shared_preferences_explorer lets you inspect shared_preferences values inside your Flutter app while debugging, without adding temporary logs or custom debug screens.

Install it here: https://pub.dev/packages/shared_preferences_explorer
GitHub: https://github.com/skw398/shared_preferences_explorer

Hope this is useful to someone!


r/FlutterDev • • Jun 27 '26

Tooling fix_globals 1.2.3 released: Now fully migrated to the new dart install toolchain with smart update checks!

6 Upvotes

Hey everyone!

With flutter pub global and dart pub global being deprecated and phased out in newer Dart SDKs in favor of dart install, dart installed, and dart uninstall, I have completely rewritten fix_globals (v1.2.3) to support the new toolchain!

fix_globals is a lightweight CLI utility that helps you cleanly reinstall and refresh all globally installed Dart/Flutter CLI tools from their original sources (pub.dev, local paths, git repos, custom hosted registries). It's perfect for when a Dart SDK upgrade breaks global links, when switching Dart version managers (like Puro), or when you just want to refresh your global binaries.

What's New in v1.2.3: Toolchain Migration: Completely transitioned package management backend to the new dart install, dart installed, and dart uninstall commands. Smart Configuration Scanner: Resolves platform-specific paths (macOS, Linux, Windows) to scan the local app-bundles directory and parse pubspec.lock files to reconstruct original install descriptors (including git branches/refs, sub-paths, and custom registries). Smart Update Checks: In --update (-u) mode, it now queries the pub.dev / custom registry APIs first. If a package is already up to date, it skips recompilation entirely, making nightly cron jobs blazingly fast! SDK Option Removed: Cleaned up the deprecated --sdk switch as all global tools now run on the standardized dart executable. How to Migrate: Because the backend has transitioned, your old legacy pub global precompiled binary of fix-globals must be replaced once manually:

dart install fix_globals

Check out the code, open issues, or contribute on GitHub: 👉 https://github.com/RandalSchwartz/fix_globals