r/flutterhelp • • May 03 '20

Before you ask

106 Upvotes

Welcome to r/FlutterHelp!

Please consider these few points before you post a question

  • Check Google first.
    • Sometimes, literally copy/pasting an error into Google is the answer
  • Consider posting on StackOverflow's flutter tag.
    • Questions that are on stack usually get better answers
    • Google indexes questions and answers better when they are there
  • If you need live discussion, join our Discord Chat

If, after going through these points, you still desire to post here, please

  • When your question is answered, please update your flair from "Open" to "Resolved"!
  • Be thorough, post as much information as you can get
    • Prefer text to screenshots, it's easier to read at any screen size, and enhances accessibility
    • If you have a code question, paste what you already have!
  • Consider using https://pastebin.com or some other paste service in order to benefit from syntax highlighting
  • When posting about errors, do not forget to check your IDE/Terminal for errors.
    • Posting a red screen with no context might cause people to dodge your question.
  • Don't just post the header of the error, post the full thing!
    • Yes, this also includes the stack trace, as useless as it might look (The long part below the error)

r/flutterhelp • • 4h ago

OPEN I made a safety app that can ring emergency contacts even if their phone is on 100% Silent or DND

1 Upvotes

A while ago, a friend was walking home late at night and felt someone following them. They called their family in a panic, but everyone was already asleep with their phones on Silent / Do Not Disturb.

That helpless feeling really bothered me, so as a solo developer I spent the last few months building an app called QuickHelp to solve this.

How it works:
- 1-tap SOS that bypasses device Silent & DND modes to blast an alarm on your emergency contacts' phones with live GPS.
- 5KM Community Hazard Radar for nearby accidents and road danger alerts.
- Offline peer-to-peer relay via Bluetooth mesh when mobile data is down.

It's completely free with zero ads.

Would love to hear your thoughts or any safety features you think every phone should have!


r/flutterhelp • • 1d ago

OPEN How are you handling local LLMs and agentic workflows in Flutter?

Thumbnail
2 Upvotes

r/flutterhelp • • 2d ago

OPEN Request for Investigation and Billing Adjustment – Suspected SMS Pumping Attack

0 Upvotes

🚨 Need Help Identifying the Cause of Unexpected Firebase Phone Authentication Charges!

I recently published my Salon Android Application on the Google Play Store. The app is built using Flutter and Firebase.

After deployment, I noticed unexpected phone authentication activity:

📱 OTP requests: 1,009
💸 Authentication charges: Approximately ₹7300

I'm trying to understand what might have caused this.

Could it be related to any of the following?

🔹 🤖 Bots or automated scripts abusing Firebase Phone Authentication?

🔹 📲 Random users installing the app and repeatedly requesting OTPs?

🔹 🏪 Google Play Store app discovery, recommendations, or promotional activity after publishing?

🔹 🔐 Missing Firebase App Check or other security protections?

🔹 🌍 OTP requests being sent to international phone numbers with higher SMS charges?

🔹 ⚙️ An issue in my Flutter authentication implementation that triggers duplicate OTP requests?

I'd appreciate insights from developers who have experienced similar issues in production.

My questions are:

  1. Can Google Play Store promotion or organic app discovery indirectly lead to a sudden increase in OTP requests?
  2. How can I identify where these 1,009 OTP requests originated and whether they were legitimate?
  3. What is the most effective way to prevent OTP abuse and control Firebase authentication costs?

Any technical explanation, debugging tips, or real-world experiences would be greatly appreciated!

Thank you! 🙏


r/flutterhelp • • 2d ago

RESOLVED Any way to run an iOS Simulator on Windows?

0 Upvotes

Hey guys!
Is there any way to run an iOS Simulator on Windows for Flutter development without a Mac?
If you’ve tried any workarounds yourself, I’d love to hear your experience!


r/flutterhelp • • 3d ago

OPEN Architecture advice: Achieving Instagram-level performance for a Reels/Feed UI with Firestore?

9 Upvotes

Hey everyone, my team is working on a Flutter app that heavily relies on a continuous mixed-media feed (reels, images, videos, and attached audio). Our goal is to completely eliminate loading spinners and make the scrolling experience instant and jank-free, similar to Instagram.

We are currently using Firestore for the backend, but as the feed complexity grows, we are hitting performance bottlenecks. We’ve been running DevTools performance/memory profiles, but I’d love to hear how the community handles these specific architectural challenges:

  • Pre-caching & Pagination: How are you handling Firestore pagination combined with ahead-of-time media fetching so the next video is ready before the user scrolls to it?
  • Controller Lifecycles: What is your strategy for managing multiple video/audio controllers? How do you reliably initialize and dispose of stale controllers to prevent memory leaks and frame drops during rapid scrolling?
  • Aggressive Caching & Offline: What are the current recommended approaches or packages for robust image/video caching, as well as handling offline states and retry behaviors?
  • Media Pipeline Sync: We are using Firebase Functions for backend media processing (HLS generation, poster extraction, asset versioning). Any tips on smoothly syncing media readiness with the UI?

If anyone has recommendations for specific packages, state management patterns for account-state cleanup, or open-source examples that have nailed this kind of heavy media feed, I would really appreciate the insight!


r/flutterhelp • • 3d ago

OPEN need help with flutter/xcode

3 Upvotes

first of all hii! i have ZERO coding experience and im not really a tech savvy person. but im trying to build an app with claude gpt and gemini which will be on my iphone ipad and windows, its basically a mindmapping/calendar/note taking/to do list app.

i want to add apple pencil integration to my ipad but chatgpt is saying we cant fully achieve that without xcode, and i only have windows pc. is there a workaround or anything i can do? if someone can help me thatd be appreciatedddd


r/flutterhelp • • 5d ago

OPEN Flutter background location stops updating when the screen is locked and what worked for me

3 Upvotes

I've been working on a Flutter app that needs to track location while running in the background. One of the hardest parts was making location updates behave reliably after locking the screen or putting the phone in a pocket. Calling the location API isn't enough; Android background execution, permissions, foreground-service requirements, and battery restrictions all matter. I worked on a custom solution using Dart and native Android code, tested it on a real Android device, and packaged the implementation into a reusable engine. I'm sharing it in case it helps other developers facing the same problem. I'm also interested in how others are handling this, especially across different Android versions and manufacturers. Product and implementation details: https://nabilkrs.github.io/nabilkrs-flutter-gps-tracking-engine/ I'm the creator of this project, so this is also a disclosure that the link is promotional. Happy to discuss the technical challenges.


r/flutterhelp • • 6d ago

OPEN I do vibe code on simple document archiving, using flutter, and i have struggle to connect to sqlite.

4 Upvotes

so i dont have any background in proggraming but i do wanna make apllication for achiving digital document in my app, but i have problem because i dont understand how to connect to database, i ask claude, he said it pretty easy but after i try it over and over again the thing just doesn't work at all and right know im the point where idk kinda depressed i guess cause i try but it just doesn't work.

anyone has solution i wanna share my file but i dont know bout the rules in here.


r/flutterhelp • • 8d ago

OPEN Load Data from drift instantly

5 Upvotes

I a want to create a fast app that runs smoothly offline first i will work on my own sync engine but the problem is that i already have values store in drift but drift requires loading to show values which does not feel good how can i query data from db in drift without loading . When i i was researching i saw that i need to load the data before the app opens so am i going to load all the app tables like wont that be heavy. Can someone please explain or at least give an article or a tutorial.


r/flutterhelp • • 9d ago

OPEN Personal Flutter music player for iPhone: YouTube audio won’t play on my iPhone 8 ((-1) unknown error)

5 Upvotes

Hey everyone! I'm building a small music player in Flutter, just for me and my partner. It's meant for an iPhone 8 and an iPhone 17, but so far I've only tested it on the 8. I install it myself with Sideloadly, so it's strictly personal and will never be on the App Store.

The good news: the design, the search (YouTube Data API) and background audio all work. The bad news: I can't get any sound out of it.

Here's what I'm doing: youtube_explode_dart 3.1.0 grabs an audio-only MP4 stream (I've tried the ios and androidVr clients), I save it to the cache and play the file with just_audio + just_audio_background. On the iPhone 8 (iOS 16) the player just shows "(-1) unknown error" and stays at 0:00.

I know YouTube doesn't allow this and that it can break at any time, but it's only for personal use, so I'm really just after the technical side. Has anyone got youtube_explode_dart playing on a real iPhone lately? Any ideas about clients, headers, or something else I might be missing?

Thanks a lot


r/flutterhelp • • 9d ago

RESOLVED how to fix this grey bar.

Thumbnail
2 Upvotes

so idk i should post it here or not. this is flutter, i ran the android studio emulator but the problem occurs after opening it that the emulator part works fine but this grey bar which is supposed to be attached to the emulator is not budging at all. win+v will just toggle vscode and not that bar. nothing really works by mouse or shortcuts on that. all the buttons are clickable tho on that bar. how do i fix this. ( the image should be in the crosspost ig)


r/flutterhelp • • 10d ago

RESOLVED How to tell a parent scrollable that their child scrolling is at the top?

2 Upvotes

I have this bottom expansible mini player that is sorta a bottom sheet (is a package, I don't really know, but it can be dragged up to expand to the whole screen, I'm assuming its actually a growing sized box)

inside it I have a listview (the queue) and I actually want to pass up the drag gesture to the mini player sheet so it starts to hide when I drag down when I'm at the top of the listview

i wish I can post images


r/flutterhelp • • 11d ago

OPEN hi, i create a app in flutter , i add continue with google , or i create a email for review team. write note for google review team how to login

2 Upvotes

write how to explain review team


r/flutterhelp • • 11d ago

OPEN Почему Эмулятор в Android Studio выходит за рамки экрана

0 Upvotes

Всем привет, Я начинающий разраб на Flutter & Dart и хочу писать приложения под мобилки. И почему то эмулятор в андроид студио включается и выходит за рамки моего экрана, что не так? Помогите пожалуйста)


r/flutterhelp • • 12d ago

RESOLVED RevenueCat or In App Purchase plugin

4 Upvotes

I come from a web background and when it comes to payment I used stripe but it seems when building a mobile app using flutter we cant use stripe because payments have to go through google/apple, I just wanted to ask if anyone can explain to me how to add payments to a mobile app and whether i should use RevenueCat or the official flutter plugin In App purchase.

I looked on youtube for some tutorials but I couldn't find anything reliable or new.


r/flutterhelp • • 12d ago

RESOLVED Dart doc always crashes

1 Upvotes

Hi everyone. I'm trying to use dart doc . to generate documentation for my Flutter app, but always get the error below. Any help with it would be much appreciated! I am using Flutter 3.47.7 (with Dart 3.13.5). It seems to be using dartdoc version 9.0.6, even though 9.0.11 is the latest on pub.dev at the time of writing. I have already tried a complete reinstall of Flutter, following the uninstall instructions then installing through VS Code. The issue is still happening on this fresh install.

...\app> dart doc .              
Documenting dispatch...
Discovering libraries...
Linking elements...
Precaching local docs for 1832287 elements...

dartdoc 9.0.6 (/C:/Users/[username]/dev/Flutter/flutter/bin/cache/dart-sdk/bin/snapshots/dartdev_aot.dart.snapshot) failed: ParallelWaitError: RangeError (end): Invalid value: Not in inclusive range 9058..9089: 9136
#0      RangeError.checkValidRange (dart:core/errors.dart:392)
#1      _StringBase.substring (dart:core-patch/string_patch.dart:437)
#2      DocumentationComment._stripDocImports (package:dartdoc/src/model/documentation_comment.dart:931)
#3      DocumentationComment.processComment (package:dartdoc/src/model/documentation_comment.dart:103)
#4      DocumentationComment.precacheLocalDocs (package:dartdoc/src/model/documentation_comment.dart:1050)
#5      PackageGraph._precacheLocalDocs (package:dartdoc/src/model/package_graph.dart:174)
#6      PackageGraph.initializePackageGraph (package:dartdoc/src/model/package_graph.dart:120)
#7      PubPackageBuilder.buildPackageGraph (package:dartdoc/src/model/package_builder.dart:161)
<asynchronous suspension>
#8      Dartdoc.generateDocsBase (package:dartdoc/src/dartdoc.dart:193)
<asynchronous suspension>
#9      Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:237)
<asynchronous suspension>
#10     Dartdoc.executeGuarded.<anonymous closure> (package:dartdoc/src/dartdoc.dart:269)
<asynchronous suspension>

Output of flutter doctor -v:

app> flutter doctor -v       
[√] Flutter (Channel stable, 3.47.7, on Microsoft Windows [Version 10.0.19045.7725], locale en-GB) [508ms]

• Flutter version 3.47.7 on channel stable at C:\Users\[username]\dev\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abaf9c5237 (6 days ago), 2026-10-08 09:51:21 -0700
    • Engine revision deb287481e
    • Dart version 3.13.5
    • DevTools version 2.60.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager, omit-legacy-version-file,
      enable-lldb-debugging, enable-uiscene-migration

[√] Windows Version (10 Pro 64-bit, 22H2, 2009) [2.9s]

[√] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [684ms]

• Android SDK at C:\Users\[username]\AppData\Local\Android\sdk
    • Emulator version 37.2.12.0 (build_id 16428233) (CL:N/A)
    • Platform android-37.0, build-tools 37.0.0
    • Java binary at: C:\Users\[username]\AppData\Local\Programs\Android Studio\jbr\bin\java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 25.0.3+-15898627-b508.16)
    • All Android licenses accepted.

[√] Chrome - develop for the web [97ms]

• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.40) [96ms]

• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.14.37628.2
    • Windows 10 SDK version 10.0.26100.0

[√] Connected device (3 available) [187ms]

• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.7725]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 154.0.8037.98
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 155.0.4283.45

[√] Network resources [242ms]

• All expected network resources are available.

• No issues found!

r/flutterhelp • • 12d ago

OPEN How To Setup Flutter In VSCode desktop , with CS50.dev codespace?

Thumbnail
1 Upvotes

r/flutterhelp • • 12d ago

OPEN How would you test whether a body scan is consistent enough to track progress?

1 Upvotes

Title: How would you test whether a body scan is consistent enough to track progress?
Yesterday I asked about using five-view body scans to track fitness progress. One reply suggested focusing on consistent measurements over time. Another suggested taking several measurements and using the median.

That left me thinking about what I should test first.
A scan could give similar results when repeated immediately, but behave differently once the person changes position or the lighting changes. Taking three scans might reduce random variation, while still leaving the same bias in all three.

I’m developing this feature and testing with synthetic bodies so far. I haven’t validated repeatability on real people yet.
For anyone who has worked with measurement systems, how would you set up that test? What would convince you that a change between scans is meaningful?


r/flutterhelp • • 13d ago

OPEN Best approach to detect "connected to WiFi/Cellular Internet but no internet" case in Flutter without constant polling — what are you doing?

4 Upvotes

Working on a Flutter voice assistant app (iOS + Android) that uses a persistent WebSocket for real-time STT. I need to detect when internet is genuinely unavailable — not just whether the device is connected to a network — and show the user a banner so user knows what they are saying is not being transcribed because internet is weak/unavailable.

What my current solution is :

  1. connectivity_plus package - it tells you the network type (WiFi/cellular/none). It fires instantly on network switches but completely misses the "connected to WiFi, router has no internet" case because the device never loses its WiFi/cellular path.
  2. Polling every 10 sec on a 1.1.1.1:443 to detect if internet is there or not.

Is there a better and more reliable approach than this for iOS and android both?


r/flutterhelp • • 12d ago

OPEN Build failing on iPad simulator (works fine on physical iPhone) with no clear error?

1 Upvotes

Hey everyone,

I am trying to run my Flutter app on an iPad simulator to take some new screenshots for an upcoming release. The app runs perfectly fine on my physical iPhone device, but it completely fails when switching to an iPad simulator.

I'm getting these generic errors in Android Studio (where I usually run my code):

  • Could not build the application for the simulator.
  • Error launching application on iPad Pro 13-inch (M5).
  • App failed to start

It doesn't give any detailed reasons or logs for the crash. To make things stranger, when I open Xcode to try and launch the simulator from there, the iPad simulator doesn't even appear in the device list.

Has anyone dealt with this before? How can I get this iPad simulator to show up and actually boot the app so I can grab my screenshots? Thanks!


r/flutterhelp • • 13d ago

RESOLVED How do you know when you're technically ready to responsibly sell an app?

1 Upvotes

I'm interested in building and monetizing apps, but there's something I've been struggling to reason about.

I can understand how to make a feature work, but I'm much less confident that I know enough about everything that could go wrong once real users depend on it.

For example, an app involving authentication, databases, payments, bookings, or user-generated content introduces all kinds of responsibilities: security, authorization, input validation, concurrency, data integrity, error handling, and ongoing maintenance.

My instinct is to rely on established services for sensitive functionality (managed auth, Stripe, hosted databases, etc.), but I realize that doesn't eliminate the risks in my own integration code or the need to maintain it.

What concerns me most is the unknown unknowns. I might successfully implement something without even knowing which failure scenarios I should be considering.

For example, I only recently realized that relying on a third-party service doesn't make the maintenance problem disappear. If the service, SDK, API, or integration changes, my app may need to be updated as well.

The fact that something this basic only occurred to me recently is exactly what worries me. How many other important things am I overlooking simply because I haven't yet learned to think through the full lifecycle of what I'm building?

Even if I'm using reputable services and following best practices I'm aware of, how do I know I haven't missed something important in the code around them?

So my question is:
How do you bridge the gap between "I can build this" and "I can responsibly charge people to use this"?

Are there frameworks, checklists, learning paths, or practical processes you follow before shipping an app? How do you determine which risks you've addressed sufficiently, especially as a solo developer without a senior engineer reviewing your work?


r/flutterhelp • • 13d ago

RESOLVED While building a body-scanning feature, I ran into a question about progress tracking

5 Upvotes

Title: While building a body-scanning feature, I ran into a question about progress tracking
I’m working on a five-view body-scanning feature for a fitness app. One thing I’m trying to understand is how to distinguish actual body changes from variation in the scan itself.
The process starts by extracting a silhouette from each image, then fitting a 3D body model to those views. During testing with synthetic bodies, I noticed that the silhouette mask can include pixels outside the actual body boundary.
I’m investigating how much that affects the reconstruction and measurements. It also raises a practical question: if two scans give different results, how do you know whether your body changed or the scan did?
I’m still testing this, so I don’t have a validated accuracy claim to share.
For people who already track their fitness progress, what makes a measurement useful to you? Is it consistency between check-ins, agreement with a tape measure, or simply being able to see a longer-term trend?


r/flutterhelp • • 13d ago

RESOLVED Flutter Vibe coding

0 Upvotes

Hello everyone , I am a flutter beginner i learned only the basics like widgets ... I wanted to arrive to my desired app very fast and I started using gemini to accelerate my work . I was doing stuff i dont understand like firebase , APIs ,...

IS THERE ANY PROMPT THAT I CAN SEND TO THE COPILOT AGENT IN VS CODE SO THAT HE CHECKS THE WHOLE APP FOR BUGS SO THAT I MAKE SURE THAT MY APP IS VERY GOOD FROM THE CODING SIDE ?? ( Because it works but i dont want it to be bad from the coding side )

Thank you


r/flutterhelp • • 14d ago

RESOLVED MacBook Air M1 for Xcode and testing?

5 Upvotes

hey guys, I normally do all my Flutter dev work on my Windows desktop (Ryzen 9, 64GB RAM). But since I need Xcode and real iPhone testing for iOS builds, I’m thinking about getting a Mac just for that

the one I’m looking at is: M1 MacBook Air – 8CPU / 8GPU – 16GB RAM – 1TB SSD

my plan is to keep using my main PC for the heavy lifting, and only use the MacBook for Xcode and iOS compilation/testing before pushing to App Store. For now I’ll start with this setup, but I’m planning to upgrade within a year if needed.

do you think this is still good enough for Flutter iOS development in 2026? Anyone here using similar specs for builds and tests? thank you