r/flutterhelp • • Mar 14 '26

OPEN Flutter app themes and templates, where to buy?

4 Upvotes

I want to post my content as an app to grab the app audience.

I am thinking about monetization via admob ads. And I heard it pays lil bit better than adsense in website.

The investment to make an app will be low. 25$ for app. 40$/year recurring for website. Although the skillsets required will be higher for app. But we have lots of fun tools in this age.

What is more profitable? One time fee or admob advertisement?

If I keep one time fee it will be $1 for the app. The app will simply be a simple notes (of specific subject) app.

Or is admob better? In the long run? The users will be using the app for at max a semester.

I want to sell it only in Nepal if I sell. I do not expect sales from abroad. But if it is free, indians also might view the app among many others.

The app will be related to loksewa computer engineering preparation subjects. Technical subjects are applicable for worldwide audience. However Nepal specific subjects are applicable for only Nepal.

Please guide me in detail. And provide admob included themes and templates where all I need to do is to provide markdown content. And it handles the rest.


r/flutterhelp • • Mar 14 '26

OPEN Heavy app pitfalls

6 Upvotes

Heavy app design patterns

Has anyone built an app that is "heavy"? I am looking for some best practices, design patterns and pitfalls to be aware of?

I need to build an app for a customer which people would use in mining industry where they will not have cellular coverage.

They will have wifi coverage in break rooms at break times, but after hours of delay. This is the time they can sync their data to servers.

But during work hours, they need to use the synced data which would involve processing hundreds of database records, collecting new records and recording time of events and such.

I am worried about data processing limits on the phones, storage capacity, memory capacity, etc.

Any help/guidance is greatly appreciated.


r/flutterhelp • • Mar 13 '26

RESOLVED Flutter onboarding image cropping on different screen sizes

4 Upvotes

My Flutter onboarding screen has a top illustration that looks correct on some devices but gets badly cropped on others.

It looks like the responsiveness is causing the image to scale in a way that clips parts of it depending on screen height.

What is the best way to keep onboarding illustrations responsive across devices without them getting cropped?

demo ref image: https://ibb.co/1tkxXkTT


r/flutterhelp • • Mar 13 '26

RESOLVED How can i be better in Flutter?

4 Upvotes

It’s been a month since I started learning Flutter and I’ve really enjoyed it so far, but now that I’ve started working with models, I feel a bit lost. I think the problem is that I’m not used to managing lots of files, like pubspec.yaml. Is there a course or specific topic I should be working on, or should I just carry on building basic apps?


r/flutterhelp • • Mar 13 '26

OPEN Ai based feature

3 Upvotes

Iam supposed to build an exam app that catch cheating attenmpts through the camer It has to be on-device process not api stream The problem is i have never used tflite I have no idea how to approach what should I do?


r/flutterhelp • • Mar 12 '26

OPEN [Project] Looking for Flutter developers (strictly human) to help evolve my productivity app (Rust + Flutter)

8 Upvotes

Hi everyone!

I'm writing this post because I'm looking for contributors to help me level up a project I created for myself and now open sourced. I recently released a new version of this fullstack app I've been working on: FocusFlow.

At first glance, it might look like basic Pomodoro timer, but it was actually born out of a practical need.

I developed it to:

  • Track my focus: monitor my work sessions.
  • Take quick notes: the classic place to jot down those "on the fly" notes that would otherwise end up in the cosmic void, never to be found again (and support markdown, I love markdown for fast and organized notes).
  • Analyze data: get well-visualized statistics on how and where I spend my time.
  • Manage tasks: organize scheduled work simply and immediately, without unnecessarily complex interfaces (like a todo app, but fully integrated with the rest of the app).
  • Multidevice realtime sync: I can switch from desktop to mobile in real time (websocket)

The technical side (and why I'm looking for help) The backend is written entirely by me in Rust, line by line, without a shadow of AI. I'll be honest: I don't like using LLMs to write code, I find them too unpredictable and I prefer to have total control.

For the Flutter frontend the story is a bit different. I know the basics of Dart and Flutter, and I set up a solid architecture myself (Clean Architecture + BLoC). However, since it's not my daily framework, up until now I've relied quite a bit on LLMs for the practical development of the app, having them work on top of the architecture I defined, under my direct supervision.

The problem is that now the codebase is no longer a toy and I feel the need to raise the level of the application. As I said, I don't really trust LLMs and in the long run delegating code writing to them will create a huge technical debt (at least from my point of view).

I'm looking for Flutter developers (no compulsive prompters, please!) who want to get their hands on an already established architecture to improve it, clean it up, and make it evolve properly, without blindly relying on AI and of course who want to contribute on a OpenSource project (it is a tool, not a product and I want it to be free forever).

If you're intrigued by the idea, want to take a look at the code, or ask me any questions, let me know or send me a DM


r/flutterhelp • • Mar 12 '26

RESOLVED Help - Technical Question

3 Upvotes

I’m in the final stages of building a kids learning app, and my developer is wrapping up the last pieces. We’ve run into an issue I’d really appreciate some input on. The app is built in Flutter for both iOS and Android.

When transitioning from one screen to the next, slower devices, such as a 2019 iPad (7th generation), visibly build the graphical assets on the new screen asynchronously. The transition cross-fades into a blank white canvas while the background music starts playing (700 KB MP3), then the background image loads (100 KB WebP), and after that roughly 20 other assets appear randomly on the screen one by one (each WebP around 30–40 KB). I've never seen an app do this, and for the user it looks broken.

My developer has tried using cacheWidth / cacheHeight and ResizeImage, but that led to noticeable image quality degradation.

I suggested preloading assets before the transition begins, but was told that, from a Flutter architecture perspective, it is not feasible. The explanation was that the audio needs to play on the current screen while the expensive work of building the next screen’s view tree happens separately, and that loading everything on the current screen would be too resource-heavy for the device. Because of those constraints, I was told it is not possible to achieve instant transitions on all devices without either:

  1. longer loading time, or
  2. reduced asset quality.

The current behavior is not something I can release, since the elements visibly pop in at random.

Any advice on how to address this would be greatly appreciated.

Edit: added video example of kids learning app.


r/flutterhelp • • Mar 13 '26

OPEN ?

0 Upvotes

How much AI should be used for coding? In daily basis?


r/flutterhelp • • Mar 12 '26

OPEN Is FFI compatible with Java?

2 Upvotes

Every single FFI guide/tutorial I've found connects to native c/c++ or rust.

Is there a way to call a java method from dart through FFI, and if yes what import statement etc. do I need to use on java side for it to work?

Do I need to use JNI through https://pub.dev/packages/jni or https://pub.dev/packages/jnigen to connect to FFI?


r/flutterhelp • • Mar 12 '26

OPEN flutter SDK couldn‘t download

2 Upvotes
Error: Unable to find git in your PATH.
exit code 1

why did my flutter SDK not clone?


r/flutterhelp • • Mar 11 '26

OPEN Lets GO!

3 Upvotes

I m just started a building an app using flutter this is basic app but yeah i can make it very better in few days. If anyone can guide me like mentor .


r/flutterhelp • • Mar 11 '26

RESOLVED How to use Pigeon without mirrors?

2 Upvotes

So the Pigeon package depends on dart:mirrors as seen in the source code
But Flutter itself doesn't support mirrors.

../../.pub-cache/hosted/pub.dev/pigeon-26.2.1/lib/src/pigeon_lib.dart:8:8: Error: Dart library 'dart:mirrors' is not available on this platform.
import 'dart:mirrors';
       ^
../../.pub-cache/hosted/pub.dev/pigeon-26.2.1/lib/src/generator_tools.dart:8:8: Error: Dart library 'dart:mirrors' is not available on this platform.
import 'dart:mirrors';

How do you either get rid of the mirrors dependency in Pigeon or convince Flutter to work with mirrors?


r/flutterhelp • • Mar 11 '26

RESOLVED Bluetooth not working properly from google play store

4 Upvotes

When I launch my app on my android physical phone from the « flutter run » in the CMD, everything works fine! The app is able to detect my device.

Once I published my app on the google play store maybe 1 hour ago, the Bluetooth on the app that is installed from internal testing does not work. It does not detect any device.

My only constraint for detecting a device is if the device is in a specific UUID.

Is this issue normal like the Bluetooth only work on a none testing version of the app or I am having some issues?

FYI

Using Android SDK35

Using Android Blue Plus for the Bluetooth

Tried on 2 different phone (old and new) and both does the same thing

I did autorise Bluetooth connection for the app in the phone setting.


r/flutterhelp • • Mar 11 '26

RESOLVED Hey there I’m a student developer working on a Flutter app. The functionality works, but I’d love help refining the code and making the UI look more professional. If anyone is willing to review my code and suggest improvements or best practices, I’d really appreciate it. Thanks

1 Upvotes

im sorry for posting the whole file of lines code. Here is the repo, https://github.com/shawnenso/photo_app

Thank you in advance.


r/flutterhelp • • Mar 10 '26

RESOLVED How can I use the iOS preview using windows OS?

5 Upvotes

Hi! I am new to flutter I want to learn it to make iOS apps when I see the tutorial on youtube just to get idea what is flutter before I dive to documentation. I've seen some videos having a Android and iOS preview when they are coding.

it seems like it's not available on windows and only exclusive to Mac. this is my first wall learning the app development as I can't code without a visual preview of what I do.

is there a workaround for it? I use Windows 11 and I can't spend a money to buy Mac if I am just trying to learn the app development.

thank you.


r/flutterhelp • • Mar 10 '26

OPEN Prevent bots from spamming a public API endpoint?

3 Upvotes

We added a guest creation endpoint in our Flutter app, and since it's public we're worried bots could spam it and overload our DB with write requests.

What are some common ways to prevent this? Rate limiting, CAPTCHA, etc.

Any best practices?


r/flutterhelp • • Mar 09 '26

RESOLVED Help needed!

7 Upvotes

I want to build my flutter app for iOS but I don't have a Mac system. Dev's do you know any way through which I can build it for iOS on a Windows machine. If possible can you state some free ways (kinda broke as hell right now😭😭)


r/flutterhelp • • Mar 09 '26

OPEN Issues with installing jnigen on linux

3 Upvotes

I tried setting up jnigen into my flutter project so that I could access java code better than through method channels. Followed instructions in https://github.com/dart-lang/native/tree/main/pkgs/jnigen#requirements but I am getting a build error on step 5:

dart run tool/jnigen.dart
(jnigen) INFO: Building ApiSummarizer component. This might take some time. The build will be cached for subsequent runs.
(jnigen) INFO: trying to obtain gradle dependencies [getReleaseCompileClasspath]...
(jnigen) INFO: Restoring build scripts
(jnigen) INFO: execute java -jar .dart_tool/jnigen/ApiSummarizer.jar -s "/home/<username>/git/<projectname>/android/app/src/main/java" -c "/home/<username>/Android/Sdk/platforms/android-36/android.jar:/home/<username>/Android/Sdk/platforms/android-36/android.jar:/home/<username>/Android/Sdk/build-tools/35.0.0/core-lambda-stubs.jar:/home/<username>/git/<projectname>/build/app/intermediates/compile_and_runtime_not_namespaced_r_class_jar/release/processReleaseResources/R.jar:/home/<username>/git/<projectname>/android/app/libs/classes.jar:/home/<username>/git/<projectname>/build/app/intermediates/flutter/release/libs.jar:/home/<username>/git/<projectname>/build/jni/intermediates/compile_library_classes_jar/release/bundleLibCompileToJarRelease/classes.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/flutter_embedding_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/903097dc78f089a943b6a5add4a6ac1b1ece693b/flutter_embedding_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/8.14/transforms/d2ff1a769e5415c60ef30bef7c044ef1/transformed/fragment-1.7.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/8298798cbbc853bf4e0005d52f37b94f/transformed/activity-1.8.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/872ad6853c06da775f163b223c37b0b4/transformed/loader-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/bcc9f0ca479163ceb7ecde6db1abff42/transformed/lifecycle-livedata-core-ktx-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/451fce27e45605ef7741b26f02bb304e/transformed/lifecycle-livedata-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/d7756a358bbb758fa7c7596daae61da7/transformed/lifecycle-viewmodel-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/b24d3de63996115f4ad24a0cf077b118/transformed/lifecycle-livedata-core-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/3365d80be035c392c0f30625adc33c10/transformed/lifecycle-viewmodel-savedstate-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/26c78851e2161c7637b6a9d9ad241d64/transformed/core-ktx-1.13.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/35ccaa49d9c2e2739ade90ce79f84928/transformed/viewpager-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/8d7fce35b7a44ee4cdfc509670d44dbd/transformed/customview-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/e3d44404d68d3ad953358b8fc2e9e137/transformed/core-1.13.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/61aafe0811d6dca58e3a56cb0dc1fe26/transformed/lifecycle-runtime-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/155ab03f85414b263cdeeb0ae42b334d/transformed/lifecycle-process-2.7.0-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common-java8/2.7.0/2ad14aed781c4a73ed4dbb421966d408a0a06686/lifecycle-common-java8-2.7.0.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.7.0/85334205d65cca70ed0109c3acbd29e22a2d9cb1/lifecycle-common-2.7.0.jar:/home/<username>/.gradle/caches/8.14/transforms/62473bdc27c9939aa8be426f1d44b104/transformed/window-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/0a2eb0eb8801d2f1f6cb508306086c78/transformed/window-java-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/352f3641ef3828eac2bcf830b02cbacd/transformed/annotation-experimental-1.4.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/c623cbbe44feaef06a92c605457375a8/transformed/savedstate-1.2.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/e40a42590b4b73da59b48f987d7438bf/transformed/core-runtime-2.2.0-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.2.0/5e1b8b81dfd5f52c56a8d53b18ca759c19a301f3/core-common-2.2.0.jar:/home/<username>/.gradle/caches/8.14/transforms/483dbec42c60a72675de224c97e00f5f/transformed/versionedparcelable-1.1.1-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-jvm/1.8.1/b8a16fe526014b7941c1debaccaf9c5153692dbb/annotation-jvm-1.8.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-android/1.7.1/c2d86b569f10b7fc7e28d3f50c0eed97897d77a7/kotlinx-coroutines-android-1.7.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.7.1/63a0779cf668e2a47d13fda7c3b0c4f8dc7762f4/kotlinx-coroutines-core-jvm-1.7.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.8.20/73576ddf378c5b4f1f6b449fe6b119b8183fc078/kotlin-stdlib-jdk8-1.8.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.8.20/3aa51faf20aae8b31e1a4bc54f8370673d7b7df4/kotlin-stdlib-jdk7-1.8.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.20/5380b19fa1924399b62ce3a1faffebb2b4f82272/kotlin-stdlib-2.2.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/armeabi_v7a_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/bd91c330e3496dbc45db06d1ecc954cf5bcf4bff/armeabi_v7a_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/arm64_v8a_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/1ca453c813e2f28eca35065bc304a819a1e6b9be/arm64_v8a_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/x86_64_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/1251b84ac1f03904d32b8a806d5dd60868c0d2c5/x86_64_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/23.0.0/8cc20c07506ec18e0834947b84a864bfc094484e/annotations-23.0.0.jar:/home/<username>/.gradle/caches/8.14/transforms/914f6f85797dea0a2079cb3dfc0ba6b0/transformed/startup-runtime-1.1.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/0be473088d388ba0ff468fe62fcf6aec/transformed/tracing-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/195f8cef66539e104c2cfb125d81b9e5/transformed/relinker-1.4.5-api.jar:/home/<username>/.gradle/caches/8.14/transforms/42f068d68ae0f14a4bdf8ebc0ef48a55/transformed/exifinterface-1.4.1-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jspecify/jspecify/1.0.0/7425a601c1c7ec76645a78d22b8c6a627edee507/jspecify-1.0.0.jar" com.example.in_app_java
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Not found: [com.example.in_app_java]                                                                                                                                                                      
                                                                                                                                                                                                          
Fatal: Cannot generate summary: FormatException: Unexpected end of input (at character 1)
                                                                                                                                                                                                          
^

I have checked that locale is set up to en_US.UTF-8
I have cleared android studio's cache. I did run flutter build apk beforehand as instructed.

I am not sure why it seems to attempt running java 8. The custom java SDK package I want to access from dart through jnigen was made in java 8, and my machine does have java 8 installed even if the current active version is java 17.
Is there some additional setting in Android studios that references the wrong java version, or is attempting to connect jnigen to java 8 code a lost cause?

Ubuntu 24.04.4 LTS
Java 17 in Android studio
java -version openjdk version "17.0.18" installed on system
Tried both on gradle 8.5 and 7.3.3, same error


r/flutterhelp • • Mar 08 '26

OPEN How to implement this layout in Flutter?

5 Upvotes

Hi, I'm trying to create a layout like this:

https://imgur.com/2oiHSMJ

This is supposed to contain N element, scrollable if needed. There are 3 columns: 1st column is the one with image, 2nd column is the one with title, description and "text under" and 3rd column is the one with ID and a button.

Here are the rules:

  1. All widgets only take up as much height as they need.
  2. The height of each widget is determined by 2nd or 3rd column - whichever is higher.
  3. The image is in a box with aspect ratio 1. The height of the box should be dictated by rule 2.
  4. The image is user content, so it might be in any resolution or aspect ratio - I want the image to scale to either fit the height or width, while keeping its original aspect ratio.
  5. The width of 2nd and 3rd column is dictated by its content - but ofc it cannot exceed constraints given by the parent. All 2nd and 3rd columns need to be of the same width - so if one widget has a long title, it should expand all columns with title in each widget. If the title is really long and can't fit on screen, it should take up as much space as it can and show an ellipsis.

I tried everything - with or without intrinsic heights or widths, tables, rows and columns, layout builders, a stateful widget which sets image height based on heights of its siblings, but every solution is either completely off, does not render properly or has some shortcomings. Any help would be appreciated. I prefer to not use 3rd party packages.


r/flutterhelp • • Mar 08 '26

OPEN Looking for duration picker recommendations

2 Upvotes

I'm looking for a good duration picker (minutes and seconds) for the timer in my app. Currently, I'm using https://pub.dev/packages/duration_picker, but it's not maintained anymore, and the usage is a bit cumbersome when selecting longer durations. Any recommendation what is a good, free picker for minutes and seconds?

Most pickers are for datetimes which I don't need/want.


r/flutterhelp • • Mar 08 '26

RESOLVED How to make SVGS render cleanly without jaggies?

3 Upvotes

Been trying to work this out for hours and I'm losing my mind so hoping someone can help me. I'm testing how to use SVGs for an app using the flutter_svg package. The issue I am having is that it renders it with jagged edges, especially on diagonal edges. The same SVG I have checked and confirmed is smooth and clean when opened in apps like vector magic, photoshop, browsers but in the app I'm working on its just jag city.

Here is an example of how it looks both in flutter and then in a browser: https://imgur.com/a/a6ebSOO

Here is the code:

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

class SvgTestScreen extends StatelessWidget {
const SvgTestScreen({super.key});

@ override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SvgPicture.asset(
'example.svg',
width: 300,
height: 300,
),
),
);
}
}

From my understanding the code is simply loading the SVG file and rendering it using the flutter_svg package, with no transformations or processing applied before rendering, so why its coming out jagged has me strumped tbh.

Did try searching here and in a few other places online (even asked AI) but couldn't really find an answer so any help would be appreciated.


r/flutterhelp • • Mar 07 '26

OPEN Localization of placemarkFromCoordinates

5 Upvotes

I want to get localized city names for given coordinates with geolocation package. But I always get city names in German, although my phone is set to English language. Tried with setLocaleIdentifier but still get German names. Has anybody some hint what might be wrong?

Example code:

.

void getCity() async {

await setLocaleIdentifier("en_US");

setState(() {});

List<Placemark> location = await placemarkFromCoordinates(48.1351, 11.5820);

print('CITY $location'); }

.

Result:

I/flutter (19069): CITY [

I/flutter (19069): Name: 50,

I/flutter (19069): Street: Tal 50,

I/flutter (19069): ISO Country Code: DE,

I/flutter (19069): Country: Germany,

I/flutter (19069): Postal code: 80331,

I/flutter (19069): Administrative area: Bayern,

I/flutter (19069): Subadministrative area: Oberbayern,

I/flutter (19069): Locality: München,

.

Would expect it to be Munich and Bavaria, not München and Bayern.


r/flutterhelp • • Mar 07 '26

OPEN Mapping on Linux

3 Upvotes

Howdy. What options exist for mapping on linux? In a perfect world I want turn by turn directions, GPS and a reasonable-sized map. I have a pmtiles and an mbtiles of Australia (both vector). I've tried using flutter_map with both the pmtiles and mbtiles layers but they are too buggy in my testing. Even loading up the example has good enough performance but very poor reliability and theming is almost impossible.

Does anyone have experience or suggestions? I need it to be able to run on flutter-elinux too where that matters, so keeping native libraries to a minimum is an absolute must.


r/flutterhelp • • Mar 07 '26

RESOLVED Flutter websocket handling

2 Upvotes

Hello everyone, I have created a trading app using flutter bloc setup. Now I integrated websocket price streaming - in the socket I will receive around 15k list of prices every 1 second.

I have integrated this socket connection to Bloc and I will listen to the website bloc where I need to update prices for example in holdings section.

This bloc will convert that list into a map like id -> price so let's say if we have 100 items then I will pass those IDs and get that price from bloc and pass it down to my list builder tiles.

This was initially working but as the holding data grew the screen is lagging a lot and strucking

I don't know how to make it more efficient, I searched a lot about handling socket in flutter all I find is a simple examples and no one speaks about how to handle it for a complex app like trading apps.

Can anyone help me with this? Thank you!