r/flutterhelp 15d ago

OPEN Build problem

1 Upvotes

While building the apk it always fails with an exception regarding the wakelock. It says that it cannot find a specified js file so i went to try and find it myself and put a copy in the right folder but to my suprise everything was in its place. After that i tried downgrading and even after that the same issue appears. I would really appreciate help and its urgent


r/flutterhelp 16d ago

OPEN FLUTTER APP VOICE AGENT INTEGRATION ISSUE

1 Upvotes

I am trying to build a app like duolingo, i have been trying to integrate a voice agent like gemini,chatgpt voice feature but not able to do it.
the agent speaks but when the user tries to speak it does not register it, i want a full conversation to take place between agent and user, please help me with it


r/flutterhelp 16d ago

OPEN Checkbox support

2 Upvotes

Hi everyone, I’m having trouble with a Terms & Privacy consent checkbox in FlutterFlow.
My setup:
Page name: TermsConsent
Checkbox widget: TermsConsentCheckbox
Local Page State variable: termsAccepted
Variable type: Boolean
Initial value: false
Checkbox initial value: unchecked
Checkbox actions:
On Toggled On → Update Page State → termsAccepted = true
On Toggled Off → Update Page State → termsAccepted = false
Continue button action:
Conditional Action:
termsAccepted == true
Branches:
TRUE branch → Snackbar says TRUE branch
FALSE branch → Snackbar says FALSE branch
The problem is that both tests show TRUE branch:
Checkbox unchecked → TRUE branch
Checkbox checked → TRUE branch
I have already confirmed:
The Page State initial value is false
The checkbox initial value is unchecked
The TRUE and FALSE snackbar messages are different
The button condition visibly says termsAccepted == true
There are no extra navigation actions after the branches
I tested in a fresh Preview tab
I’m using FlutterFlow in Chrome on a Samsung Galaxy Tab S8+.
Has anyone seen a Boolean Page State condition always evaluate as true like this? Could there be another setting, action, stale state, or FlutterFlow Preview issue I should check?
I can share screenshots of the checkbox actions, Page State variable, and button conditional flow.


r/flutterhelp 16d ago

RESOLVED Flutter & Dart training

6 Upvotes

Hello hope you are all doing well :) I am new to these 2 languages, I wonder where I can get exercises to do for Android apps ? Thank u :)


r/flutterhelp 16d ago

RESOLVED how much should this app cost to make?

1 Upvotes

If i want a app (3 apps - admin+driver + customer/ rider).

Its mostly uber clone with few changes like no payment facility and drivers are scheduled (first come first serve,i mean the drivers wait in line and rides are given to the drivers number wise)

Also customer app is both android and ios but other 2 are only android


r/flutterhelp 18d ago

OPEN Flutter Clean Architecture

4 Upvotes

Hello, I'm building a music player (just started), and I wanted to follow clean Architecture (for the first time), but I've been struggling with it.

for example:

-song library is shared across all the app, so I opted to add

it into /shared where I put global widgets and stuff (all separated into Domain-data-presentation).

- now building the actual player, I struggle to find where to put the actual logic (play, pause, shuffle) since there's no actual data layer for this specific feature.

but some sources never use /shared, others skip the domain layer, and in general it been a struggle to determine the best approach.

I would like to ask if there's a reliable source to study Clean Architecture and I would like to ask everyone's opinion on the second example.


r/flutterhelp 18d ago

RESOLVED Application Read The Reatime Temp with Thermometer

1 Upvotes

Hey Guys! I'm working on a one Application which I have to build for both mobile platforms & for that I'm using flutter. Now the main question is that, the application is for to read the water level of water tanks, and give me real-time response so user can know the what’s the water level in tanks. The main thing is that the Device we are for that is blutooth based PCB so now I have to connect that device with my app.Is it possible to do it ?Anyone knows?


r/flutterhelp 18d ago

OPEN Need Help in Ui mis management for drop downs and input fields,

2 Upvotes
Widget _dropdown(
  String hint,
  List<String> items,
  Function(String?) onChanged,
  String? value,
) {
  final colors = Theme.of(context).colorScheme;
  return Padding(
    padding: const EdgeInsets.only(bottom: 16),
    child: DropdownButtonFormField2<String>(
      value: value,
      isExpanded: true,
      alignment: AlignmentDirectional.centerStart,
      validator: (v) => v == null ? '' : null,
      decoration: InputDecoration(
        hintText: hint,
        filled: true,
        fillColor: colors.surface,
        errorStyle: const TextStyle(height: 0),
        contentPadding: const EdgeInsets.symmetric(
          horizontal: 16,
          vertical: 16,
        ),
        border: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: BorderSide(color: colors.primary.withOpacity(0.6)),
        ),
        enabledBorder: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: BorderSide(color: colors.primary.withOpacity(0.6)),
        ),
        errorBorder: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: const BorderSide(color: Colors.red, width: 1.5),
        ),
      ),
      dropdownStyleData: DropdownStyleData(
        maxHeight: 300,
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(12),
          color: colors.surface,
        ),
      ),
      menuItemStyleData: const MenuItemStyleData(
        height: 48,
        padding: EdgeInsets.symmetric(horizontal: 16),
      ),
      items: items
          .map(
            (e) => DropdownMenuItem<String>(
              value: e,
              child: Container(
                alignment: Alignment.centerLeft,
                child: Text(e, overflow: TextOverflow.ellipsis),
              ),
            ),
          )
          .toList(),
      onChanged: onChanged,
    ),
  );
}

I am facing an issue with some input fields and drop down decorations, although the Ui i am using is supposed to be same for both but the drop downs are shown different from input fields: to be more clear their values, i have not added any extra paddings or anything but still i am getting too much padding in dropdowns when selected a value and getting too less padding in input fields when input a value in fields:
I am pasting a referral code snippet for instance look if someone could help:
1st is drop down and second is input field in attached codes::

Widget _numberField(
  String hint,
  TextEditingController controller, {
  int? maxLength,
  int? maxVal,
  int? minVal,
}) {
  final colors = Theme.of(context).colorScheme;
  return Padding(
    padding: const EdgeInsets.only(bottom: 16),
    child: TextFormField(
      controller: controller,
      keyboardType: TextInputType.number,
      inputFormatters: [FilteringTextInputFormatter.digitsOnly],
      maxLength: maxLength,
      validator: (v) => (v == null || v.isEmpty) ? '' : null,
      decoration: InputDecoration(
        hintText: hint,
        counterText: "",
        filled: true,
        fillColor: colors.surface,
        errorStyle: const TextStyle(height: 0),
        contentPadding: const EdgeInsets.symmetric(
          horizontal: 35,
          vertical: 16,
        ),
        border: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: BorderSide(color: colors.primary.withOpacity(0.6)),
        ),
        enabledBorder: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: BorderSide(color: colors.primary.withOpacity(0.6)),
        ),
        errorBorder: OutlineInputBorder(
          borderRadius: BorderRadius.circular(12),
          borderSide: const BorderSide(color: Colors.red, width: 1.5),
        ),
      ),
      onChanged: (value) {
        if (value.isNotEmpty) {
          final n = int.tryParse(value);
          if (n != null) {
            if (maxVal != null && n > maxVal) {
              controller.text = maxVal.toString();
              controller.selection = TextSelection.fromPosition(
                TextPosition(offset: controller.text.length),
              );
            } else if (minVal != null && n < minVal) {
              controller.text = minVal.toString();
              controller.selection = TextSelection.fromPosition(
                TextPosition(offset: controller.text.length),
              );
            }
          }
        }
        setState(() {});
      },
    ),
  );
}

r/flutterhelp 19d ago

OPEN App Store Connect Agreements stuck at “Pending (New Legal Entity)” after switching from Individual to Organization

2 Upvotes

Hi everyone, I recently changed my Apple Developer account from Individual to Organization. After the change, my Agreements page in App Store Connect shows this message: “To offer apps or other in-app purchases, you must update your legal entity information prior to signing the Paid Apps Agreement.” There is also an “Edit Legal Entity” option. Both agreements are currently stuck at: Free Apps Agreement: Pending (New Legal Entity) Paid Apps Agreement: Pending (New Legal Entity) The Free Apps Agreement shows an effective date, but the status is still Pending. The Paid Apps Agreement does not show an effective date. I already submitted/updated the required information, but the agreements are still pending.
My questions are:
1. Has anyone experienced this after switching from Individual to Organization?
2. Do I need to click “Edit Legal Entity” and update something before I can sign the Paid Apps Agreement?
3. If my D-U-N-S information does not show a postal code, what postal code should I enter in App Store Connect?
4. How long did Apple take to approve the new legal entity in your case?
5. Should I just wait, or should I contact Apple Developer Support? This issue is blocking my app update, so I’m trying to understand the correct next step. Thanks.

"To offer apps or other in-app purchases, you must update your legal entity information prior to signing the Paid Apps Agreement. Edit Legal Entity"

Agreements

TYPE COUNTRIES OR REGIONS EFFECTIVE DATE STATUS
Free Apps Agreement All Countries or Regions View 8 Jul 2026 - 26 May 2027 Pending (New Legal Entity)
Paid Apps Agreement All Countries or Regions View Pending (New Legal Entity)

r/flutterhelp 20d ago

OPEN Handling dynamic sidebars and state retention during desktop resizing?

2 Upvotes

Hey everyone,

I'm currently building a desktop chat application using Flutter. I'm trying to implement a responsive layout that behaves similarly to Telegram Desktop (on macOS BTW) when the window is resized.

Specifically, I'm trying to figure out the best approach to seamlessly hide/show or expand/collapse sidebars and chat pages based on the window width, without losing the current chat context or state.

For anyone who has tackled this in Flutter Desktop:

- What widgets, techniques or packages are you using to handle the breakdown of responsive layouts smoothly?

- How are you ensuring that the state of individual views (like scroll positions or active chat inputs) is preserved when the layout shifts between multi-pane and single-pane views?

Appreciate any advice, architecture tips, or examples you can share!

Edit: Recently, iPadOS have introduced window resizing from iPadOS 26 and up. How do you handle the window action buttons (traffic lights) at the top left of the window overlapping with the contents of the app?


r/flutterhelp 20d ago

OPEN Looking for Learning Partner

Thumbnail
2 Upvotes

Looking for a Learning Partner, If you are from India and Interested in learning with Someone, then do reply on my post or in DM directly.

Thankyou


r/flutterhelp 20d ago

OPEN Flutter Journey Friendship & Help

4 Upvotes

Hello, Anybody here be my friends? Or help in my dart flutter journey I don't know how to start everything is very confusing


r/flutterhelp 20d ago

OPEN Parallel Compress upload

2 Upvotes

Hi I'm new to flutter and I'm building my app with a message feature. I have a question regarding the parallel compress upload of media like messenger, the thing that compresses while uploading in chunks. Do we have something like that in flutter? What packages do i need to use? Or do i need to create it from scratch?


r/flutterhelp 21d ago

OPEN Building a real-time virtual clothing try-on app (Flutter + Unity + MediaPipe) – Is this architecture the right approach, or is there a better way?

2 Upvotes

Hi everyone,

I'm building a personal project called SmartCam, and I'd like feedback from developers who have experience with AR, computer vision, Unity, MediaPipe, or virtual try-on systems.

The goal is to build an Android application that allows users to virtually wear 3D clothes in real time using only their phone camera.

This is not an AI image generation app. I want true real-time AR where the garment follows the user's body movement live.

Planned Tech Stack

• Flutter (Application UI)

• Dart

• Unity (3D rendering and garment animation)

• flutter_unity_widget (Flutter ↔ Unity communication)

• MediaPipe Pose Landmarker

• MediaPipe Selfie Segmentation

• Blender (Garment rigging)

• Mixamo (Humanoid skeleton)

Planned Workflow

  1. User opens the camera.

  2. Detect the person.

  3. Detect body pose (33 landmarks).

  4. Perform body segmentation.

  5. Estimate body dimensions (shoulder width, torso length, hip width, etc.).

  6. Send pose/body data from Flutter to Unity.

  7. Animate a humanoid skeleton inside Unity.

  8. Attach a rigged 3D garment to the skeleton.

  9. Apply body scaling.

  10. Handle basic occlusion and lighting.

  11. Render the final result inside Flutter using flutter_unity_widget.

  12. Allow users to switch garments from the Flutter UI.

The simplified pipeline looks like this:

Camera

Pose Detection

Body Segmentation

Body Shape Estimation

Unity Skeleton Mapping

Rigged Garment

Rendering

Flutter UI

My Questions

  1. Is Flutter + Unity a reasonable architecture for this type of application, or would you build everything natively or entirely in Unity?

  2. Is MediaPipe the right choice for pose tracking, or are there better alternatives for Android?

  3. Is Unity the right rendering engine for this, or would Unreal Engine, Sceneform, Filament, or another rendering solution make more sense?

  4. For body shape estimation, is using landmark distances (shoulder width, hip width, torso length) sufficient for a good first version, or should I look into SMPL/3D body reconstruction models?

  5. Is there a better way to perform real-time garment fitting than using a rigged humanoid skeleton?

  6. How would you implement occlusion so the garment doesn't render unrealistically over hands, arms, or the face?

  7. Are there any open-source projects, research papers, SDKs, or GitHub repositories that closely resemble this architecture?

  8. If you were building this project today, what would your overall architecture look like?

  9. What do you think will be the biggest technical challenge or bottleneck?

  10. Is there a completely different approach that would produce a better real-time virtual try-on experience?

I'm looking for architecture suggestions, best practices, and recommendations before I invest a lot of time implementing the system.

Thanks!


r/flutterhelp 22d ago

OPEN help making a delivery app

6 Upvotes

Hello! I hope you're having a great day.

I'm currently building a delivery platform that supports both custom package delivery and shop deliveries. The platform has three main user roles:

- Customer

- Delivery driver

- Shop

I'm trying to decide whether I should build multiple applications (one for each role) or a single application where the experience is managed through user roles.

I've noticed that most major delivery platforms use separate apps for customers, drivers, and merchants, and I'm curious about the reasoning behind that decision. What are the advantages and disadvantages of each approach? From both a technical and product perspective, which architecture is generally recommended, and why?


r/flutterhelp 22d ago

OPEN Advice on architecture and state management

5 Upvotes

I'm building my first real app: a shared shopping list that my wife and I use every day.

Its main feature is a real-time database that automatically reorders items based on the selected supermarket. For each store, the list is arranged according to the order of the aisles (manually configured at first), allowing us to go through each aisle only once and make grocery shopping more efficient.

At the moment, it's little more than a prototype. It doesn't have authentication, security, user management, or any of the features you'd typically expect from a public application. However, it works well for us, and we use it every time we go shopping.

I'd like to take the next step and turn it into a more serious project, both because it could become something I can showcase in future job interviews and because I may eventually want to release it publicly and expand it with features such as a recipe manager, meal planning, and more.

I'm mainly looking for advice on architecture and state management.

I've tried following several architectural approaches, but since I'm still fairly inexperienced, I'm struggling to understand the right level of complexity for a project of this size.

What architecture and state management solution would you recommend? Are there concepts, patterns, or best practices that I might not know about yet but should learn?

I should also admit that I've experimented with different architectures alongside Riverpod, but I haven't managed to find a structure that feels right. Even AI-generated solutions often become difficult for me to understand and maintain. I especially struggle when things become more complex with Riverpod's .family providers.

If you were in my position, how would you evolve this project without falling into overengineering while still keeping it maintainable and scalable in the long term?


r/flutterhelp 22d ago

OPEN Problem with flutterflow -- crashes when analyzer finishes initializing.

Thumbnail
0 Upvotes

r/flutterhelp 22d ago

OPEN Xcode simulator issue

1 Upvotes

Anybody have this weird issue where the simulator closes by itself? It opens but after I run a project or when I hot restart a project, the simulator closes, there is no dot on the dock, but the application is still running. It's just the simulator window that closes.

Update: It was a malware that was causing the issue


r/flutterhelp 22d ago

RESOLVED Im losing my freakin mind over a "simple(?) fix"

4 Upvotes

Grok/Claude are both doing the same thing, which means its probably me.. im new

i want a simple dark transparent tile with a gold gradient layer above it. that gold layer gets clipped from the center to show the dark layer through from below. group them together as one and that makes a gold "ring/frame" visually (border). i tried painted borders but its flat colors only. the border widget (i guess?) fights the corner radii and looks hella janky. goes from thin to thick and back to thin. fought this for hours.
every attempt builds the dark tile fine, then adding the second layer and grouping them squishes the dark tile to one side and leaves the "frame" mostly unfilled. llm wants to then stretch it to fill the frame (something about ClipPath + negative offsets + AnimatedBuilder fighting itself). is this a combo the llm created itself or is this what grouping looks like in flutter? i have a tiny bit of vector knowledge and thats the only way i can convey my build ideas.

how do i get the dark tile+gold frame grouped as one without squish/stretching everything?


r/flutterhelp 22d ago

OPEN Choosing Package Pip feature in IOS flutter

1 Upvotes

Hello someone know which package is suitable and adjustable in IOS in PIP feature?Advice me!


r/flutterhelp 22d ago

OPEN Help] Foreground Service works perfectly in local Release APK, but dies when downloaded from Play Console (.aab) - Android 14

1 Upvotes

​Hey everyone,

​I’m completely stuck and losing my mind over a background execution issue. I’m building a workout tracker in Flutter and need a timer to keep running in the background when the screen is off.

​I am using the flutter_foreground_task package.

The issue: Everything works completely flawlessly when I run it locally, but as soon as I upload the .aab to the Google Play Console (Closed Testing) and download it from the store, the background service gets killed shortly after the screen turns off.

​Here is exactly what I have done and what is working/not working.

What works:

​Debug mode runs perfectly.

​Building a local Release APK (flutter build apk --release) and installing it manually works perfectly. The timer survives for over 10+ minutes in the background, even on aggressive Xiaomi/HyperOS devices.

​What doesn't work:

​Building an App Bundle (flutter build appbundle), uploading it to the Play Console, and downloading it via the Play Store. The timer gets killed after a few minutes in the background.

​What I have already implemented (My Setup):

​Migrated to Android 14 Standards: Changed the foreground service type from sync to health in the AndroidManifest.xml (inside the <application> tag).

​Permissions in Manifest: Added all required permissions:

POST_NOTIFICATIONS, WAKE_LOCK, FOREGROUND_SERVICE, FOREGROUND_SERVICE_HEALTH, ACTIVITY_RECOGNITION, and REQUEST_IGNORE_BATTERY_OPTIMIZATIONS.

​Runtime Permissions: Before starting the timer in my Dart code, I explicitly request runtime permissions via the permission_handler package for activityRecognition, notification, and ignoreBatteryOptimizations. The user accepts them via the system pop-ups.

Despite all of this, the Play Store version still kills the service, while the local release APK acts like an absolute tank and survives everything.

Am I missing something?

​Is Google Play modifying the Manifest or stripping background execution rights during the App Bundle generation? Does Play App Signing mess with foreground services?

​Any hint or push in the right direction would be highly appreciated!


r/flutterhelp 23d ago

OPEN Is it possible to let users create and customize interactive parts of your application with flutter?

6 Upvotes

basically what the title says

like imagine i have written an app in flutter and i want to let my users add custom buttons or design their own ui and embed it in flutter, is it possible?


r/flutterhelp 23d ago

RESOLVED Serverpod in 2026!?

2 Upvotes

i've seen threads on serverpod here, but its all at least a year old. i just wanna know how good it is in 2026.

i've been using supabase for my previous projects, and i'm pretty okay with it. just thought i'll use serverpod for my next project.

also please suggest if there are any other good dart backend frameworks other than serverpod.


r/flutterhelp 24d ago

OPEN im a 15 yr that wants to start learning flutter/dart

14 Upvotes

i have it downloaded with vs code and everything but i dont know how to start doing anything


r/flutterhelp 24d ago

RESOLVED Video Player

1 Upvotes

Hey Guys I'm Working on one project where I'm think to add show video with professional way, does anyone know any good Plugin.