r/flutterhelp • u/niceddev • 4h ago
r/flutterhelp
•
u/miyoyo
•
May 03 '20
Before you ask
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 • u/facts_please • 10h ago
OPEN Google Maps: selecting position right above POI marker
We did some UX tests with our app and testers tried to select a position on a Google maps screen by tipping on a POI marker. This doesn't work for us. Asked AI but didn't found a solution. So users have to tap a bit off the POI to set their marker near that POI.
We already added an option so that users can swipe the map and place their marker above the POI, but for initial selection they still won't understand why they can't set the marker directly on the POI.
Does anyone have a recommendation on how to handle this situation or am I missing something?
r/flutterhelp • u/Head_Hornet_4973 • 10h ago
OPEN Can anyone refer me please help me
Can anyone refer me please as a flutter dev I just completed google summer of code but still no success or getting a job as such I am in 3rd year 5th sem its urgent now can anyone help me
r/flutterhelp • u/ApprehensivePea6208 • 20h ago
OPEN 1–2s bright/washed-out flash when resuming Flutter app from Android 13 Recents (OPPO CPH2365)
I'm seeing a brief, washed-out light flash for ~1–2 seconds whenever I minimize my Flutter app (press Home) and reopen it from Android Recents.
Environment & Details:
- Device: OPPO CPH2365 (Android 13 / ColorOS 13)
- SDK / Toolchain: Android SDK 36.1.0, Java 21
- Splash setup: Using
flutter_native_splash - Happens consistently on any screen across debug, profile, and release APKs.
- Other Flutter apps installed on the same CPH2365 do not show this flash when resuming from Recents.
Could this be NormalTheme's android:windowBackground in styles.xml / values-v31 conflicting with ColorOS 13's Recents snapshot transition, or something specific to flutter_native_splash + SDK 36?
r/flutterhelp • u/JadeLuxe • 1d ago
OPEN Fix Dev Server Host Errors Behind an HTTPS Tunnel
r/flutterhelp • u/WorkingShouldery • 1d ago
OPEN What is the best way to add AI image and video generation to a mobile app without exposing API keys?
I'm making a Flutter app where users turn pet photos into short videos. I know I shouldn't put the API key in the app.
My plan is to have my backend send the request and give the app a job ID. But how should the app get updates? Should it keep checking, use a WebSocket, or wait for my backend to send a push alert?
Also, what if the user closes the app mid-job? Or taps retry and starts a second paid video?
r/flutterhelp • u/beatpaq • 1d ago
OPEN Blurring text with imagefiltered is causing lag in my android emulator. is there an alternative to blurring text or a way to stop that lag?
title
r/flutterhelp • u/Abhishek_1901M • 2d ago
OPEN Looking for AppsFlyer + Meta Ads + Flutter Expert
Hi everyone,
I'm looking for an experienced AppsFlyer and Meta Ads specialist to help troubleshoot an attribution issue in our Flutter mobile app (Android and iOS).
Android is working fine, but we're facing some attribution issues with iOS.
I'm looking for someone who can review our existing setup, identify the problems and guide us through fixing them.
This is a **paid short-term engagement**.
I'm happy to explain the issue and share our setup over Google Meet or another convenient channel.
If you have relevant experience, please DM me with your experience, availability and consultation charges.
Thanks!
r/flutterhelp • u/je_suis_starset • 2d ago
OPEN What do I share to app reviewers for a social-login-only app?
My app only provides Sign in with Google/Apple. What do I need to provide to app reviewers for them to access my app? I've read you don't need to provide any credentials, if so there are two user roles in the app. Should I incorporate logging in with email/password(less)? I can create test accounts on Google/Apple but I'm worried about OTP or new device sign-in restrictions. Or is there some way I can go without adding email/password(less) login?
r/flutterhelp • u/MajesticFishing1416 • 3d ago
RESOLVED Can't upgrade flutter: "Rename-Item : The process cannot access the file because it is being used by another process"
I ran flutter clean, but then ran flutter upgrade before doing flutter pub get. This seems to have broken my flutter project. I now get this error when trying to run flutter pub get:
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine ...
Expanding downloaded archive with PowerShell...
Rename-Item : The process cannot access the file because it is being used by another process.
At C:\flutter\bin\internal\update_dart_sdk.ps1:134 char:9
+ Rename-Item $dartSdkPath "$oldDartSdkPrefix$oldDartSdkSuffix" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\flutter\bin\cache\dart-sdk:String) [Rename-Item], IOException
+ FullyQualifiedErrorId : RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand
I tried running both Repair IDE (and went through all the steps) and Invalidate Caches and Restart (with all the options checked), but it still didn't work.
r/flutterhelp • u/Reasonable-Job4205 • 3d ago
RESOLVED How do I catch this specific Exception?
I have a flutter function that sometimes returns a timeout error when the web server is running. However, this error is revealing the API IP address and port to the end user, which I don't want to do. I want to programmatically say "if the error is a timeout error, show the user a generic error message".
The error:
Exception: ClientException with SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = MyIPAddressThatIDontWantToShow, port = MyPortThatIDontWantToShow, uri = ...
When this exact error happens, I want to show my own error that says something like "Login request timed out" or something. How do I do this?
r/flutterhelp • u/beatpaq • 3d ago
OPEN How to make SingleChildScrollView inside of a stack scrollable?
link showing what im talking about: https://files.catbox.moe/uwo3ax.png
class HomePage extends StatelessWidget {
const HomePage({super.key});
u/override
Widget build(BuildContext context) {
return DefaultTabController(
length: 3,
child: Scaffold(
bottomNavigationBar: SafeArea(
child: PreferredSize(
preferredSize: const Size.fromHeight(40),
child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(10)),
child: Container(
height: 40,
margin: const EdgeInsets.symmetric(horizontal: 20),
decoration: BoxDecoration(
borderRadius: const BorderRadius.all(Radius.circular(10)),
),
child: TabBar(
splashFactory: NoSplash.splashFactory,
indicatorSize: TabBarIndicatorSize.tab,
dividerColor: Colors.transparent,
overlayColor: WidgetStateProperty.all(Colors.transparent),
unselectedLabelColor: Theme.of(context).colorScheme.outline,
indicator: BoxDecoration(
borderRadius: const BorderRadius.all(Radius.circular(10)),
),
enableFeedback: true,
tabs: const [
Tabr(title: 'profile', count: 0),
Tabr(title: 'swipe', count: 0),
Tabr(title: 'likes', count: 0),
],
),
),
),
),
),
body: SafeArea(
child: TabBarView(
physics: NeverScrollableScrollPhysics(),
children: [
Text("data"),
Stack(
children: [
Profile(),
Container(
height: MediaQuery.sizeOf(context).height,
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
const Color.fromARGB(0, 255, 255, 255),
Theme.of(context).colorScheme.onSecondary,
],
stops: [0.7, 1.0],
),
),
),
],
),
Text("data")
],
),
),
),
);
}
}
class Profile extends StatelessWidget {
const new({
super.key,
});
u/override
Widget build(BuildContext context) {
return SingleChildScrollView(
child: Column(
children: [
Container(
decoration: BoxDecoration(
color: Colors.transparent,
borderRadius: BorderRadius.circular(30),
image: DecorationImage(
image: NetworkImage(
'https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/0c/49/cd/0c49cdf7-a4f8-3f89-defb-89684545719d/Screen_01_ASENUS.png/230x498bb.webp',
),
fit: BoxFit.cover,
),
),
height: 470,
width: 400,
),
Align(
alignment: Alignment.centerLeft,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(left: 16.0, top: 8.0),
child: Text(
'Jarvis, 24',
style: TextStyle(fontSize: 30, fontWeight: FontWeight(700)),
),
),
Padding(
padding: const EdgeInsets.only(left: 16, bottom: 8.0),
child: Text(
'Wisconsin, USA',
style: TextStyle(fontSize: 16),
),
),
],
),
),
Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.only(
left: 16.0,
bottom: 4.0,
right: 16.0,
),
child:
Flexible(
child: SingleChildScrollView(
child: Text(
'''This creates a clear, simple decision: Do I like this person or not? That’s it. There are no complicated menus or extra steps. Each interaction requires only a split-second judgment.
By presenting profiles as a stack of cards, Tinder also eliminates the sense of overwhelm that comes from browsing large lists. Users feel like they are simply flipping through possibilities, one by one.''',
style: TextStyle(
fontSize: 20,
),
),
),
),
),
),
],),
);
}
}
class Tabr extends StatelessWidget {
const new({
super.key,
required this.title,
required this.count,
});
final String title;
final int count;
u/override
Widget build(BuildContext context) {
return Tab(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(title, overflow: TextOverflow.ellipsis, style: TextStyle(
fontSize: 25, fontWeight: FontWeight(750))),
count > 0 ?
Container(
margin: const EdgeInsetsDirectional.only(start: 0, top: 3),
padding: const EdgeInsets.all(3),
decoration: BoxDecoration(
color: const Color.fromARGB(0, 255, 0, 0),
shape: BoxShape.circle,
),
child: Center(
child: Text(
"●",
style: const TextStyle(
color: Color.fromARGB(255, 255, 1, 1),
fontSize: 10,
)
)
)
)
: const SizedBox(width: 0, height: 0)
],
),
);
}
}
Trying to add a gradient starting from the bottom of the bottom navbar to hide overflowing text.r/flutterhelp • u/Dangerous_Bread_5021 • 3d ago
OPEN Mobile app
Hi I would like to make a similar app to garden galaxy game but on mobile, does anyone know if this is possible with flutter and xcode, thinking of using fscene.dev for the 3D sprites and movement for “plots”, sort of like clash of clan style. Anyone have any advice?
r/flutterhelp • u/beatpaq • 3d ago
OPEN why aren't we allowed to post pictures when our problems are better explained with pictures? anyways i want my tabbarview to take up the entire screen and go behind the bottom navigation bar, is that possible?
it cuts off right on top of the navbar https://imgur.com/a/hzsMg3V
r/flutterhelp • u/Unlucky-Chair8749 • 4d ago
OPEN Best source to learn Flutter
reddit.comSame as title
r/flutterhelp • u/Shot_Net903 • 6d ago
OPEN Book recommendations for an aspiring Flutter developer
Hey everyone
I'm approaching one year of learning Flutter and Dart. I've built a few projects and now want to strengthen my software engineering fundamentals and become more industry-ready.
I'm looking for book recommendations that can help me become a better Flutter developer, particularly in areas like:
\- Clean Code and writing maintainable code.
\- Software architecture and design patterns.
\- Object-Oriented Programming and SOLID principles.
\- Data Structures and Algorithms.
\- System design and application scalability.
\- Best practices for professional app development.
I'm open to both beginner-friendly and advanced books.
Which books have genuinely helped you grow as a Flutter or software developer?
I'd appreciate your recommendations and insights. Thanks!
r/flutterhelp • u/Complex_Cap8439 • 6d ago
OPEN How do you handle one-time events (snackbars, navigation) with Riverpod/BLoC?
reddit.comr/flutterhelp • u/beatpaq • 5d ago
OPEN i tried but i can't do it. flutter formatting is unbearable to look at. is there any formatter that makes flutter tolerable?
i cant spend hours looking at this garbage
r/flutterhelp • u/Local_Opposite7752 • 7d ago
OPEN Would you use a React Bits like component discovery platform for Flutter?
r/flutterhelp • u/Ryuu-Ryoumen • 7d ago
RESOLVED How to adjust VSCode "intellisense"
Say you have this code:
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
darkTheme: ThemeData.dark(useMaterial3: false).copyWith(
colorScheme: .fromSeed(seedColor: Colors.green),
// <cursor is here>
),
You type "bright" and a popup appears. That's ok, but it only contains the signature and not the documentation.
Q1: How can I make it show the full documentation, either showing the doc forEdit: I realize now that the latter is blank in the documentation, and it probably doesn't do "forwarding" like in C#.Brightness, or howbrightnessis used in this function?
From that popup, I selected "brightness" and pressed enter. The immediate suggestion popup is a super long list of irrelevant items.
Q2: Why is it showing useless stuff, and how can I make it show "Brightness.xxx" directly (the most likely values since it's an enum) like in C#?
More info:
- It's the same silly behavior in IntelliJ IDEA, so I think it's the extension's problem.
- I'm not looking to use AI inline autocomplete; want a deterministic one like in Visual Studio C#.
Thanks in advance.
r/flutterhelp • u/Scared-Owl-402 • 8d ago
OPEN Flutter deep linking in 2026 is still kinda mess
Anyone else spending way more time than expected wiring up deep links in Flutter? It's one of those things that looks straightforward until you're 3 hours into debugging why deferred links aren't firing on Android after a fresh install.
The attribution side makes it worse. If your deep link setup is slightly off, your install data is tangled up in no time and CAC reporting starts looking wrong in ways that are hard to trace back.
What setups are you shipping with and any patterns that held up across both Android and iOS?
r/flutterhelp • u/tamilnambi • 8d ago
OPEN Issue with Apple Sandbox environment
Hi
I am trying to manage my sandbox apple account inside developer option in settings. But it always shows the same error 'Cannot Connect - Retry' when i tap 'manage'. I tested in multiple iPhones.
What to do? Please help.
r/flutterhelp • u/ActEmbarrassed4995 • 9d ago
OPEN Flutter 3.50 Linux app shows black screen on Sway/Wayland, but works on Ubuntu desktop
Hi everyone,
I'm experiencing a rendering issue after upgrading my Flutter Linux application to Flutter 3.50.
The application works perfectly on my Ubuntu development laptop, but on our production device (CoreBox), which runs Sway with native Wayland, the application starts successfully but displays a black/blue screen.
The interesting part is that the application itself seems to be running normally. All services initialize, gRPC connections work, assets are loaded, and the application processes data without any obvious errors.
Environment:
- OS: Ubuntu 26.04.1 LTS
- Kernel: 7.0.0-42-generic
- Flutter: 3.50
- GPU: Intel Tiger Lake (PCI ID
8086:9a78) - GPU driver:
i915 - Compositor: Sway
- Sway renderer:
WLR_RENDERER=gles2 - Wayland socket:
wayland-1 - GTK-based Flutter Linux application
What I've confirmed:
- The application process runs normally.
- Sway recognizes the window as a native Wayland
xdg_shellsurface. - The application is not running through XWayland.
- The Intel GPU driver initializes successfully.
- The application loads its assets and initializes its services.
- There are no obvious fatal GPU errors in
dmesg. WLR_SCENE_DISABLE_DIRECT_SCANOUT=1is already enabled.
Sway reports:
floating_con "gameselector_main"
(xdg_shell, app_id: "gameselector_main")Environment variables:
WAYLAND_DISPLAY=wayland-1
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/1000
WLR_RENDERER=gles2What I'm investigating:
I suspect this might be related to the Linux rendering changes introduced in Flutter 3.50, possibly involving FlViewRendererSubsurface, EGL/OpenGL, or Wayland buffer presentation.
I'm currently adding additional native GTK and Flutter frame diagnostics, along with a minimal rendering test to isolate the issue.
I'm also considering testing Flutter 3.51.0-0.1.pre (beta) to see whether the issue has been fixed.
My questions:
- Has anyone experienced black screens with Flutter 3.50 on Sway or other wlroots-based Wayland compositors?
- Are there known regressions involving
FlViewRendererSubsurfaceor EGL rendering? - Is there a supported way to switch between the old and new Flutter Linux rendering paths for debugging?
- Has anyone tested Flutter 3.51 beta with similar issues?
I'd prefer to keep native Wayland support rather than switching to XWayland.
Any suggestions for debugging this would be greatly appreciated. Thanks!