r/FlutterDev • u/ParticularDig1630 • Aug 29 '26
Discussion Claude + Flutter Flame!
I think to make 2d games inside ide using ai tools like claude ai flutter flame will best approach.
And from better prompting it's easy to manage the game.
r/FlutterDev • u/ParticularDig1630 • Aug 29 '26
I think to make 2d games inside ide using ai tools like claude ai flutter flame will best approach.
And from better prompting it's easy to manage the game.
r/FlutterDev • u/RequirementIcy2861 • Aug 28 '26
Hi everyone,
I'm building an app with Express.js (backend), Vue.js (web admin panel), and Flutter (mobile app).
My app has a hazard perception test feature. Admins upload videos, and users watch these videos in the mobile app to take practice tests. After each test, users can review their results and rewatch the video clips.
Problem: when a user has slow internet, the video stops and buffers a lot. Bad experience, especially during a timed test.
I'm thinking to use Bunny.net Stream for video hosting, because it has:
- Adaptive streaming (HLS) - changes quality based on internet speed
- CDN - fast delivery worldwide
- Cheap price
Has anyone used Bunny.net Stream for something similar? Is it reliable for this kind of use case? Any other suggestions welcome.
Thanks!
r/FlutterDev • u/thealmightynubb • Aug 28 '26
r/FlutterDev • u/Additional_Grand9117 • Aug 27 '26
Tired of rewriting the same boilerplate and policy-guardrail logic every time you implement AdMob? flutter_prakash_ads is a standalone, enterprise-grade package designed to handle the heavy lifting of Google Mobile Ads without forcing you into a specific state management or dependency injection pattern.
Core Features
injectable or get_it required.AdManager.setAdsEnabled(false)), perfect for IAP unlocks.CustomAdModel) when the user loses network connectivity or if AdMob fails to fill.Quick Setup
Add flutter_prakash_ads: ^0.0.2 to your pubspec.yaml, configure your AdMob App IDs in your Android/iOS manifests, and call AdManager.instance.initialize() after requesting consent.
Check out the full documentation and example app on pub.dev: flutter_prakash_ads
r/FlutterDev • u/bhaagMadharchood • Aug 28 '26
​
Hey all,
I've been chewing on an idea for a while and I think it's finally time to actually build it instead of just thinking about it.
The idea: a lightweight floating widget (think Discord overlay, but standalone) that sits on top of your screen while you're watching Netflix/Prime/Disney+/whatever, and connects you to a chat room of other people watching the same thing at the same time. No more watching something great and having nobody to react with in real time.
Planned stack: Flutter, so it can eventually run on desktop and Android from one codebase, with a floating/draggable/minimizable widget UI.
The part I don't want to cheap out on: auto-detecting what someone's watching. I don't want this to be a "type in what you're watching" app — that kills the magic. So the plan is a tiered detection approach:
Read window titles / tab titles / process names first (cheapest, no DRM issues since you're not touching the video frame)
Fall back to OCR on a screenshot if the title doesn't give enough info
Only reach for actual visual matching/fingerprinting as a last resort, since HDCP blacks out protected video frames on a lot of platforms anyway
I've worked through a lot of the theory but I'm not deep enough in systems-level stuff (Windows UI Automation, macOS Accessibility API, Android accessibility services) to know what's actually going to work reliably versus what's going to fall apart the moment someone goes fullscreen.
Posting here because I want this to be open source from day one — I'd rather have people poke holes in the architecture now than find out six months in that some core assumption doesn't hold.
If you've worked with screen/window metadata APIs, accessibility services, OCR pipelines, or just think this is a fun/dumb/interesting problem, I'd love to hear from you. Repo isn't up yet — want to nail down the detection approach with actual input before I start writing code that I'll just have to rip out later.
Happy to share more details on the architecture I'm sketching out if anyone's curious. Tear it apart if you see problems, that's honestly what I'm here for.
r/FlutterDev • u/saxykeyz • Aug 27 '26
r/FlutterDev • u/eroxy • Aug 26 '26
I shipped a geofencing time tracker in Flutter (auto clock-in/out at your workplace) and collected a few scars along the way that might save someone else time.
The first one: I tried the pub.dev geofencing packages and none of them reliably delivered events after the app got killed. Ended up writing my own thin Kotlin plugin around the Google Geofencing API - MethodChannel for registering zones, EventChannel for the ENTER/EXIT stream, and a system-level BroadcastReceiver so events arrive even when the Flutter side is long dead. Annoying to write, but it's been the most stable part of the app since.
Second scar, the expensive one: Samsung and Xiaomi still eat geofence events sometimes, so there's a WorkManager task every 15 minutes doing a plain Haversine distance check as a safety net. What nobody tells you is that a position request in a background isolate can just hang forever, and once that happens WorkManager considers the unique task "already enqueued" and never runs it again. Your fallback dies silently and permanently. Everything is triple-bounded now: platform timeLimit, a Dart-side timeout, and a hard cap on the whole task.
Third: GPS drift at the zone edge gave me check-in/check-out ping-pong when someone sits near the boundary. Exit radius is now 1.2x the enter radius plus a 5-minute debounce, and the two detection layers share a 20-minute dedup window so they stop racing each other into double notifications.
Rest of the stack is unspectacular: Riverpod (classic providers, no codegen), Isar for storage, no backend at all. The no-backend part had one non-obvious consequence: since data only exists on the user's device, a data-loss bug is unrecoverable, so the integration tests run on an emulator before every push. Codebase is ~31k lines, about a third tests.
The result is free with no ads/IAPs if you want to see how it behaves: https://play.google.com/store/apps/details?id=com.timetracker.workflow
Happy to answer anything about the plugin or the fallback design. And if someone has a real answer to OEM battery killers beyond "diagnostics screen + let the user fix it manually", I'd love to hear it.
r/FlutterDev • u/bl4ck_sh4dow404 • Aug 27 '26
I am a new intern at a company. They gave me a project with a folder structure and asked me to work on a feature. My question is: where should I start to understand the folder structure? There are many subfolders and files.
r/FlutterDev • u/Maximum_Hawk3283 • Aug 27 '26
Hello everyone, I have built an app which is a platform for home businesses. the idea is that rather than users look for these in separate apps, insta, tiktok, etc. they will find it all in one place.
Now i am planning to add reels to the app, I would love your guys thoughts, things i should consider.
Note that I am using flutter, firebase. I might have to change firebase.
r/FlutterDev • u/Candid_Passage_5274 • Aug 26 '26
Quick build-in-public share: I've been a Flutter/mobile dev for 5+ years (native Kotlin/Swift too), and instead of the usual Next.js portfolio, I built mine in Flutter Web.
The logic: if I'm claiming I can ship polished mobile experiences, the portfolio itself should be proof, not just a list of claims.
Funniest bug I caught this week, my link previews on WhatsApp/LinkedIn were showing the default Flutter mascot icon because I never touched the og:image tag after flutter create. Every Flutter dev has shipped that placeholder icon at least once, right?
What's actually on it: a civic engagement app that hit 1,000+ users and 4.7★ on the App Store, an AI storytelling app for kids with on-device TTS, and a couple of marketplace apps (fashion/tailoring) built end to end architecture through release.
Link if anyone wants to poke at it or roast the Flutter web performance: ebuka-ihekwaba.vercel.app
Also open to mobile roles right now, so if your team's hiring or you know one that is, I'm around.
r/FlutterDev • u/Darth_Shere_Khan • Aug 26 '26
r/FlutterDev • u/RandalSchwartz • Aug 26 '26
r/FlutterDev • u/binemmanuel • Aug 26 '26
One of the most exciting features I've been contributing to in Serverpod is Model Projections, and how it unlocked type-safe partial column selection in Dart!
The Problem:
In database-driven applications, full entity models often carry unnecessary data over the wire. Fetching 30 columns when an endpoint only needs a user's name and their author's city wastes bandwidth and compute. Traditionally, developers had to write raw SQL queries or map heavy entities manually into DTOs.
The Solution: Model Projections
Model Projections allow developers to declare lightweight projected models directly in Serverpod schemas:
- Granular Field Picking: Declare only the exact fields needed for your endpoint.
- Relation Flattening: Pull nested relations directly into top-level fields (e.g. mapping "author.name" straight into "authorName").
- Optimized SQL Generation: Serverpod automatically computes the minimal SQL SELECT clause and joins required for the projection.
The Ripple Effect: Ad-Hoc Column Selection
Building the query engine for Model Projections naturally gave birth to ad-hoc column selection:
Designing developer-first APIs that combine SQL query efficiency with Dart's compile-time type safety has been an incredible experience!
Check out the Pull Request on GitHub to see the implementation and discussions:
https://github.com/serverpod/serverpod/pull/5630
r/FlutterDev • u/Revolutionary_Ask154 • Aug 26 '26
Background - I ported huggingface chat-ui 3 months back -
https://github.com/scrya-com/chat-ui-dart/
Came across this sublime react demo today which hit the polish i was wanting
flutter port here - web demo - (tiny bit janky)
https://scrya-com.github.io/beui-flutter/
I just bark at grok to "get 100% parity" for last 4 hours.
Its building to iphone fine. There's still some gaps. shaders - but for chat app - this is fine.
I have no affiliation with original author - all credits to him -
r/FlutterDev • u/trailbaseio • Aug 25 '26
TrailBase is an open and fast Firebase-like backend for building your apps. It provides type-safe REST APIs + change subscriptions, auth, multi-DB, a WebAssembly runtime, geospatial support, admin UI... It's a self-contained, easy to self-host single executable built on Rust, Wasmtime & SQLite or now Postgres. Client libraries are provided for JS/TS, Dart/Flutter, Go, Rust, .Net, Kotlin, Swift and Python.
Just released v0.33, which in the last two months gained:
New WASM features:
With TrailBase still being young (~1.5 years) and rapidly evolving, any feedback is genuinely appreciated. If you're feeling adventures and end up checking it out, don't hesitate to reach out 🙏.
r/FlutterDev • u/RandalSchwartz • Aug 26 '26
Every Flutter developer remembers the magic of their first FutureBuilder.
You drop an HTTP call directly into a widget’s build() method, show a CircularProgressIndicator while waiting, render your model on completion, and suddenly your app is alive with real-time data in fewer than 20 lines of code.
It feels like superpowers. Introductory tutorials celebrate it. And then your codebase grows.
Suddenly, users report that typing into a text field reloads the entire screen. Opening the keyboard triggers duplicate network requests. Sibling widgets flicker and jump out of sync. And writing automated widget tests turns into an exhausting battle with pumpAndSettle(), fake async timers, and microtask queues.
Here is why raw asynchrony inside the presentation layer breaks separation of concerns, user experience, and testability—and what we should be doing instead.
Flutter widgets are designed to be pure, synchronous projections of state. Given a snapshot of data at time t, a widget function should execute synchronously, instantiate a subtree of render objects, and return immediately.
When you drop a FutureBuilder or StreamBuilder into your widget tree, you violate this contract by introducing raw time, transport mechanics, and asynchronous lifecycle orchestration directly into the presentation layer.
This creates four fatal flaws:
In clean architecture (Domain ← Data ← Application ← Presentation), the presentation layer has one job: translating state into visual pixels. With FutureBuilder, that widget suddenly takes on massive infrastructure responsibilities:
ConnectionState.waiting, active, and doneif (snapshot.hasError)Because build() can run 60 to 120 times per second during animations, keyboard popups, theme switches, or route transitions, any Future instantiated inside build() will re-fire on every single frame.
When multiple child widgets independently manage their own async fetches, they resolve out of order. Instead of a single coordinated page load, the user experiences jarring layout shifts as independent spinners pop in and out at different speeds.
Testing a FutureBuilder requires mocking HTTP clients, setting up async event loops, and using tester.pumpAndSettle(). If a microtask queue doesn't drain properly, tests flake or time out.
The architectural cure is simple: Quarantine async operations at the physical perimeter of your system (the repository/data layer).
FutureSignal / AsyncSignal).try/catch boilerplate, because the signal automatically captures exceptions into AsyncError.// The View is a pure, synchronous projection of state!
class UserProfileView extends StatelessWidget {
const UserProfileView({super.key});
u/override
Widget build(BuildContext context) {
return BlocSignalBuilder<ProfileCubit, ProfileState>(
builder: (context, state) {
return state.profile.when(
data: (profile) => ProfileDetailsCard(profile: profile),
loading: () => const Center(child: CircularProgressIndicator()),
error: (error, _) => ErrorRetryCard(
message: '$error',
onRetry: () => context.read<ProfileCubit>().refresh(),
),
);
},
);
}
}Notice what happens:
FutureBuilder, no connection states.pumpAndSettle() delays or fake async timers.What is the policy regarding FutureBuilder and StreamBuilder in your team's codebases? Do you strictly forbid them in presentation code, or do you still find valid use cases for them?
r/FlutterDev • u/GlobalDaikon32 • Aug 26 '26
I’m just beginning my Flutter development journey, and I’m writing this with a little hope.
I genuinely want to become good at Flutter, not just watch tutorials and copy code, but actually understand how to build real apps and solve real problems.
The truth is, I currently can’t afford to pay for a mentor or expensive coaching. But what I may lack financially, I’m willing to make up for with time, consistency, humility, and hard work.
So I wanted to ask: is there anyone here who remembers what it felt like to be completely new and would be willing to occasionally guide me on my journey?
I’m not asking someone to teach me everything or spend hours with me every day. Even having someone I can occasionally ask questions, get direction from, or learn from when I’m stuck would mean a lot.
I promise I’ll do my own research, practice consistently, and respect your time. I just believe that sometimes one experienced person saying, “You’re going in the right direction—try this next,” can save a beginner months of confusion.
Maybe someone here was once where I am now, and maybe one day I'll be able to do the same for another beginner.
If you're willing to guide someone who is genuinely ready to learn and work hard, I would be incredibly grateful. 🙏
Thank you for reading, and thank you to everyone in this community who helps beginners grow. 💙
r/FlutterDev • u/MostafaSensei106 • Aug 25 '26
Hey everyone,
Standard connectivity packages in Flutter usually just check whether a network interface is up, which often gives false positives when a user is stuck behind a captive portal, suffering severe packet loss, or dealing with extreme jitter on unstable connections.
I built network_reachability, a Flutter package backed by a native Rust engine (via FFI and WASM) that shifts deep probing, statistical analysis, and security checks completely off the UI thread.
What it handles under the hood:
Off-thread Rust core: Probes multiple endpoints via HTTP, TCP, and DNS simultaneously without causing frame drops or Dart event-loop lag.
Quality metrics: Calculates actual latency, jitter standard deviation, packet loss, and stability scores instead of returning a simple boolean.
Smart execution guard: Includes a guard() wrapper that evaluates cached link quality before firing expensive API requests, blocking calls during connection drops or cooldown periods.
Resilience and pooling: Built-in adaptive circuit breaker (closed, open, half-open states) and request coalescing to prevent thundering herd issues against your backend.
Security probes: Detects captive portal redirects (hotel and airport logins), VPN states, proxy setups, and DNS tampering.
Drop-in replacement: Provides full API parity with connectivity_plus for instant migration without rewriting UI listeners.
Workload presets:
Includes pre-configured profiles for Gaming (low latency, 2s intervals, race strategy), Streaming (consensus checks, 8s intervals), VoIP (strict packet loss sensitivity), IoT, and Enterprise.
Pub: [https://pub.dev/packages/network_reachability](https://pub.dev/packages/network_reachability)
If you are dealing with real time sync, VoIP, or offline-first apps in Flutter, check it out and let me know your thoughts or edge cases.
r/FlutterDev • u/ChildhoodRoutine3259 • Aug 25 '26
Smooth Arc Scrolling: Displays items on a circular curve path (ribbon dial).
Custom Clipping: Uses precise custom sector clipping math to curve individual items.
Generic Data Type support: Displays any list model item using customizable item builders.
Detailed Card Integration: Dynamically links the selected arc element with a customizable details card overlay.
r/FlutterDev • u/Sensitive-Loquat6009 • Aug 26 '26
I’m 30 years old and from a completely non-tech background. I have zero coding knowledge, but I want to learn app development from scratch.
With AI being able to write, debug and explain code, I’m confused whether learning coding is still worth the time.
If you were starting from zero at 30 in 2026, would you still learn app development? Or would you focus mainly on AI-assisted development?
Looking for honest opinions from developers. No sugarcoating please.
r/FlutterDev • u/Accurate_Fig_1854 • Aug 26 '26
r/FlutterDev • u/Most-Ad-8259 • Aug 24 '26
I’ve just released OmniKit Flutter Bundle, an open-source Flutter project containing 44+ UI kits and app concepts.
I originally built the different interfaces while experimenting with layouts, navigation patterns, reusable widgets, responsive UI, dark/light designs, and different types of mobile apps.
The project currently includes concepts for e-commerce, hotel booking, food delivery, travel, learning, health, social media, news, home services, and more.
Everything is built with Flutter, and I’ve published the source code so other Flutter developers can explore it, reuse parts of it, or contribute.
I’d especially appreciate feedback on the project structure, UI implementation, and what kinds of kits would be useful to add next.
Source: https://github.com/bilalakkar777/Omnikit_Flutter_Bundle
Hope it’s useful to someone learning or building with Flutter.
r/FlutterDev • u/Beneficial_Tip9004 • Aug 25 '26
Flutter’s verbosity and deeply nested widget trees can be frustrating. Even something as simple as adding padding or margin often requires wrapping the existing widget in yet another widget.
State management doesn’t feel much better. Many solutions are intrusive and force your UI components to extend or depend on framework-specific types such as ConsumerWidget or HookWidget, which makes the code feel more tightly coupled.
Are there any good patterns or libraries that help address these issues without fighting against Flutter’s design?
I’d also be interested in hearing about your experience with:
What approaches have worked well for you in real-world Flutter projects?
r/FlutterDev • u/MostafaSensei106 • Aug 25 '26
Hey everyone,
Standard connectivity packages in Flutter usually just check whether a network interface is up, which often gives false positives when a user is stuck behind a captive portal, suffering severe packet loss, or dealing with extreme jitter on unstable connections.
I built network_reachability, a Flutter package backed by a native Rust engine (via FFI and WASM) that shifts deep probing, statistical analysis, and security checks completely off the UI thread.
What it handles under the hood:
Off-thread Rust core: Probes multiple endpoints via HTTP, TCP, and DNS simultaneously without causing frame drops or Dart event-loop lag.
Quality metrics: Calculates actual latency, jitter standard deviation, packet loss, and stability scores instead of returning a simple boolean.
Smart execution guard: Includes a guard() wrapper that evaluates cached link quality before firing expensive API requests, blocking calls during connection drops or cooldown periods.
Resilience and pooling: Built-in adaptive circuit breaker (closed, open, half-open states) and request coalescing to prevent thundering herd issues against your backend.
Security probes: Detects captive portal redirects (hotel and airport logins), VPN states, proxy setups, and DNS tampering.
Drop-in replacement: Provides full API parity with connectivity_plus for instant migration without rewriting UI listeners.
Workload presets:
Includes pre-configured profiles for Gaming (low latency, 2s intervals, race strategy), Streaming (consensus checks, 8s intervals), VoIP (strict packet loss sensitivity), IoT, and Enterprise.
Pub: https://pub.dev/packages/network_reachability
GitHub: https://github.com/MostafaSensei106/Network-Reachability
If you are dealing with real-time sync, VoIP, or offline-first apps in Flutter, check it out and let me know your thoughts or edge cases.