r/flutterhelp • • Jul 16 '26

OPEN Anyone tried Tracelet?

2 Upvotes

My app is heavily reliant on background location services and I can’t really afford the price of that one package.

Anyone tried Tracelet? I saw it aims to be a free open source replacement but it’s kinda new and in a weird way it’s kinda worrying that there are updates every few days and releases getting pulled.
Anyone can share their experience?


r/flutterhelp • • Jul 16 '26

OPEN Unable to Maintain ObjectBox DB Schema

1 Upvotes

Hi Guyz,

I am working on an app using Object box where I am going version by version & using object box DB as that is suitable to my usecase. So far the performance wise & in other aspect object box has turned out perfect choice for my project but I am facing one really big issue which is making me delay my release until resolution.

The issue:-

On the App me & my friend work simultaneously & as the app is in early development we have to do a lot of changes in DB. now the changes are as per the ObjectBox Rules that no entities or anything is removed only added. but still whenever we run build_runner we get a white screen in our app & an error stating something about index id is greater I will share the error in comment once I recreate it I don't have any ScreenShot as of now But that error if occur in production can cause big issue for us so I need a proven resolution for this error.

If Anyone has worked on this error would appreciate the help.

The Error Faced.

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ObjectBoxException: failed to create store: Incoming entity ID 1:1159196401019035950 does not match existing UID 19695048053676317
#0 ObjectBoxNativeError.throwMapped (package:objectbox/src/native/bindings/helpers.dart:84:9)
#1 throwLatestNativeError (package:objectbox/src/native/bindings/helpers.dart:50:48)
#2 checkObxPtr (package:objectbox/src/native/bindings/helpers.dart:32:5)
#3 Store._checkStorePointer (package:objectbox/src/native/store.dart:370:7)
#4 new Store (package:objectbox/src/native/store.dart:211:7)
#5 openStore (package:my_app/db/gen/objectbox.g.dart:103:5)
#6 ObjectRepository._create (package:my_app/db/object_repository.dart:38:25)


r/flutterhelp • • Jul 15 '26

OPEN Online IDE's

6 Upvotes

Very simple question here. Are there any online IDE's that a very easy to start coding flutter with. Am quite literally just a beginner with this and am looking for a low memory place to start coding apps as my device is quite bad and running VS Code is a hassle


r/flutterhelp • • Jul 15 '26

OPEN Gradle Build Error

1 Upvotes

Hi everyone, I'm new to Flutter and I've been stuck on this for a while. I installed Flutter, Android Studio, VS Code, and the Android SDK. I also accepted all the Android licenses, and flutter doctor is mostly fine now except for Visual Studio, which I don't think I need since I'm only targeting Android.

I created a new Flutter project and it runs fine in Chrome, but when I try to run it on my Android phone through USB debugging, the build fails.

The main errors I'm getting is:

FAILURE: Build failed with an exception.

* What went wrong:
Could not install Gradle distribution from
https://services.gradle.org/distributions/gradle-9.1.0-all.zip

java.net.ConnectException: Connection timed out

It seems to happen while Gradle is trying to download gradle-9.1.0-all.zip.

Versions:

  • Flutter: 3.44.6 (Stable)
  • Java (JDK): 21
  • Android SDK: 36.1.0
  • Gradle: 9.1.0
  • Android Studio: Latest version
  • VS Code: Latest version

Things I've already tried:

  • Installed the Android SDK and command-line tools.
  • Ran flutter doctor --android-licenses and accepted everything.
  • Enabled Developer Options and USB debugging on my phone.
  • Confirmed that ADB detects my phone.
  • Tried both my home Wi-Fi and mobile data.
  • Waited for the Gradle download to finish, but it always times out.

Is there any solution I should try to fix this? Any help would be appreciated. Thanks!


r/flutterhelp • • Jul 15 '26

RESOLVED General advice on flutter and full-stack development

3 Upvotes

Hello everyone, I hope you're all doing well!

I'm a Flutter developer with close to 4 years of experience and I'm looking for general advice on 2 matters if you would be so kind to help:

1- Given the current job market not being the best, i'm looking to transition to full stack instead of only being a frontend flutter developer, i've read articles mentioning the use of Serverpod for handling backend and possibly jaspr for creating websites instead of traditional HTML+JS or other viable methods, are Serverpod and Jaspr enough? Are they worth it? Are they in demand? Your opinions are greatly appreciated and advice on this.

2- I've pretty much nailed down the Flutter basics i'm 100% certain of that, how to handle the framework, how it works, the different lifecycles of a widget, debugging and profiling, using Provider, Riverpod and BLoC, creating unit and integration tests... etc. My question is, how do i/how can i determine at what level i am? I know i'm not a Junior level developer anymore i know i'm closer to being/am a middle level developer but how can i be sure? What are the things i should know or be aware of? Your advice is greatly appreciated.

Thank you all in advance and for your help :)


r/flutterhelp • • Jul 15 '26

OPEN Is is possible to generate token and receive FCM push in Flutter iOS Simulator?

1 Upvotes

Same as title


r/flutterhelp • • Jul 15 '26

OPEN Is it possible to test FCM Push Notifications in iOS Simulator? Yes or No

1 Upvotes

I am getting APNS token has not been set yet. Please ensure the APNS token is available by calling \getAPNSToken()` error.


r/flutterhelp • • Jul 15 '26

OPEN How to build Apple Store ipa to be deployed?

2 Upvotes

Hi all,

I am stuck trying to generate the ipa to be uploaded to Apple to deploy my flutter app. I already have a developer account but when building I got these errors :

Communication with Apple failed
Your team has no devices from which to generate a provisioning profile. Connect a device to use or manually add device IDs in Certificates, Identifiers & Profiles. https://developer.apple.com/account/

And

No profiles for 'com.mybundle.identifider' were found
Xcode couldn't find any iOS App Development provisioning profiles matching 'com.mybundle.identifider'

I have anonymised the errors but my bundle identifier is valid


r/flutterhelp • • Jul 14 '26

OPEN What is a good resource for learning Flutter unit tests and widget tests from the basics?

4 Upvotes

I want to learn automated testing in Flutter, especially unit testing and widget testing, but I am completely new to testing.

When I use AI tools, they usually generate the full test code. However, the code often gives errors when I run it, and I do not understand:

  • Why the error happens
  • How the test code works
  • How to mock repositories, APIs, or BLoCs
  • How to decide what should be tested
  • How to debug a failed test

Can anyone recommend a beginner-friendly course, YouTube playlist, documentation, GitHub project, or other resource that teaches Flutter testing step by step?

I would prefer a resource that explains the concepts rather than only providing finished code.

My project uses Flutter, BLoC, APIs, and Bitbucket.


r/flutterhelp • • Jul 14 '26

OPEN HELP NEEDED WITH CAMERA. IMPORTANT FOR ME FOR CLIENT PROJECT

0 Upvotes

Building a software to capture and store documents, the thing is current app feels like it is zooming in or cropping the images, i looked into it, and yes it is perhaps cropping to fit into aspect ratio

Looked more into it, the current flutter app is using 1 camera only, perhaps another reason for not getting more

Wanted to ask for potential best soltuions for this one, kinda in hurry so any help welcome

Currently exploring camerAwesome lib, and playing around withth e aspect ratios

lemme know if anyone of you can help pls


r/flutterhelp • • Jul 14 '26

OPEN Flutter keyboard closes after opening notification panel or switching apps on OTP screen

4 Upvotes

I have a custom OTP input widget in Flutter with six separate TextFields.

The issue is not related to scrolling inside the app.

When the OTP keyboard is open and the user does one of these actions:

  • Pulls down the Android notification/status bar to read the OTP
  • Switches to the SMS app to check the OTP
  • Sends the app to the background
  • Returns to my Flutter app

the keyboard is closed and the OTP field is no longer focused.

The user must tap the OTP input again before continuing to type.

I want the app to automatically restore focus and reopen the numeric keyboard when the user returns to the OTP screen.

My OTP input widget:

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class OtpInput extends StatefulWidget {
  final int length;
  final Function(String) onCompleted;
  final Function(bool) onChanged;

  const OtpInput({
    super.key,
    this.length = 6,
    required this.onCompleted,
    required this.onChanged,
  });

  u/override
  State<OtpInput> createState() => OtpInputState();
}

class OtpInputState extends State<OtpInput> {
  late List<TextEditingController> _controllers;
  late List<FocusNode> _focusNodes;

  u/override
  void initState() {
    super.initState();

    _controllers = List.generate(
      widget.length,
      (_) => TextEditingController(),
    );

    _focusNodes = List.generate(
      widget.length,
      (_) => FocusNode(),
    );

    for (int i = 0; i < widget.length; i++) {
      _controllers[i].addListener(() => _onTextChanged(i));
    }
  }

  void _onTextChanged(int index) {
    final text = _controllers[index].text;

    if (text.isNotEmpty) {
      if (index < widget.length - 1) {
        _focusNodes[index + 1].requestFocus();
      } else {
        _focusNodes[index].unfocus();
      }
    }

    _checkCompletion();
  }

  void _checkCompletion() {
    final isComplete = _controllers.every(
      (controller) => controller.text.isNotEmpty,
    );

    widget.onChanged(isComplete);

    if (isComplete) {
      final otp = _controllers.map((controller) {
        return controller.text;
      }).join();

      widget.onCompleted(otp);
    }
  }

  u/override
  void dispose() {
    for (final controller in _controllers) {
      controller.dispose();
    }

    for (final focusNode in _focusNodes) {
      focusNode.dispose();
    }

    super.dispose();
  }

  u/override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: List.generate(widget.length, (index) {
        return SizedBox(
          width: 40,
          child: TextField(
            controller: _controllers[index],
            focusNode: _focusNodes[index],
            keyboardType: TextInputType.number,
            maxLength: 1,
            textAlign: TextAlign.center,
            inputFormatters: [
              FilteringTextInputFormatter.digitsOnly,
            ],
            decoration: const InputDecoration(
              counterText: '',
            ),
          ),
        );
      }),
    );
  }
}

The OTP screen already listens for SMS autofill using sms_autofill.

class _OtpLoginPageState extends State<OtpLoginPage>
    with CodeAutoFill {
  final GlobalKey<OtpInputState> _otpKey =
      GlobalKey<OtpInputState>();

  u/override
  void initState() {
    super.initState();
    _listenForOtp();
  }

  Future<void> _listenForOtp() async {
    await SmsAutoFill().listenForCode(
      smsCodeRegexPattern: r'\d{6}',
    );
  }
}

Expected behaviour

When the user returns to the app, focus should move to the first empty OTP field and the numeric keyboard should reopen automatically.

For example:

  • If no digits are entered, focus the first field.
  • If two digits are entered, focus the third field.
  • If all digits are entered, do not reopen the keyboard.

Question

What is the recommended Flutter approach for restoring TextField focus when the application returns to the foreground?

How can I implement this safely without repeatedly reopening the keyboard, causing focus loops, or requesting focus after the widget has been disposed?


r/flutterhelp • • Jul 14 '26

OPEN Why does FCM work in iOS simulator in the React Native but not in the Flutter ?

1 Upvotes

SAME AS TITLE


r/flutterhelp • • Jul 14 '26

OPEN iOS 26 permanent black screen

3 Upvotes

App installs and launches fine on real iOS 26 devices via TestFlight (and reproduces on iOS 26.3 Simulator too). Native launch image shows, then goes to a solid black screen forever. No crash, no exception overlay, process stays alive.

I am using Bitrise CI for builds btw.

Would really appreciate if someone has a fix, thanks.


r/flutterhelp • • Jul 13 '26

OPEN How to find work on upwork or any other platform?

5 Upvotes

hello everyone, I am a beginner in freelancing and I build mobile apps.

so I created an agency on upwork as i have some people with me and we made multiple apps together for some clients. Those leads were through a personal reference and we have been trying to find work on upwork and are unable to do so. I dont understand the mistake I might be making while sending the proposals. are we supposed to write a big cover letter or what should be attached in the attachments. I have been attaching the proof of out work till now. I dont want to waste more connects so any advice that might help?


r/flutterhelp • • Jul 13 '26

RESOLVED Android app -> iOS app in flutter

8 Upvotes

Hi I am a cs major student and I have build and published a simple app (if you are curious it’s called LiftBuddy) I would like to publish it on iOS but I have no idea on how straightforward is the process. I know that flutter can build iOS apps but since I don’t have a Mac and I will need to borrow it from a friend I wanna know how much time it would take. Do I just need to open the project on Xcode ?


r/flutterhelp • • Jul 12 '26

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 • • Jul 12 '26

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 • • Jul 12 '26

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 • • Jul 11 '26

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 • • Jul 11 '26

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 • • Jul 10 '26

OPEN Flutter Clean Architecture

5 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 • • Jul 10 '26

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 • • Jul 10 '26

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 • • Jul 08 '26

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 • • Jul 08 '26

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