/r/FlutterDev
A community for the publishing of news and discussion about Flutter.
A subreddit related to Google's new UI framework. https://flutter.dev
/r/FlutterDev
I searched online and found mixed opinions. Some say Flutter isn't suitable for larger projects due to performance and lagging issues. However, it seems that Flutter developers are in high demand in the market. My question is: Can Flutter compete with natively developed apps in terms of performance and scalability? I want to understand this better.
As developers, we often face challenges in creating clean and efficient network layers for API communication. Recently, I explored Dio, Extensions, and Records to build a robust and reusable NetworkApiService.
🔑 Key Highlights:
✅ Seamless handling of GET, POST, PUT, DELETE requests
✅ Clean error handling with Dio interceptors
✅ Simplified response management using Records
✅ Flexible API design with clear abstractions
📖 Dive into the full article here: https://medium.com/@rishad2002/api-calls-in-flutter-using-dio-with-extensions-and-records-for-clean-code-cd4935328c98
💻 Explore the complete codebase on GitHub: https://github.com/rishad13/dio_with_extension.git
Let's build clean, maintainable, and scalable apps together! Feel free to share your thoughts or ask questions in the comments. 💬
Hello Flutter community,
I started with Flutter couple of months ago and really enjoy the learning process so far. I'm in the process of releasing my first Flutter app on Google Play atm =)
However, Google requires a minimum number of beta testers & I don't really have a social media present :( . Just wonder if anyone here can advise on finding beta testers?
The app itself is an educational app that generate worksheet for year 2 kids to practice their math skills. I originally built this to make it easier for me to support my son with his maths learning - as it was super time consuming with paper based worksheets. After a few months, he has made huge progress which encouraged me to open this up for everyone.
Many thanks,
p/s: or if anyone interested to help out with beta testing please DM me and I will send you with more info.
I was looking at the package flutter_curl but cannot seem to figure out a use case for it vs something like http package for POST and webview for browsing. Can someone give an example where flutter_curl is a good fit?
Hi, I am working on creating a video player using Media Kit i I want when I enter full screen and hold the phone in the right or left direction, the video rotates with the new directionI want when I enter full screen and hold the phone in the right or left direction, the video rotates with the new direction
After working for over 3 years on a weekend/weeknights project "EILA money manager" I finally released version 1 on iOS, coming from corporate software world, without having native development experience Flutter was an ideal choice for me to target both Android and iOS.
I gained a lot of Flutter and package ecosystem experience along the way; to show my appreciation and say thank you to flutter open source community I am willing to answer your questions.
Here are my experiences and what I used:
Recommendations for dependencies:
If you want you can check the app here:
Hello everyone!
I am currently working on an application designed to conduct exams for students in a hall without internet access. The concept works as follows:
A Wi-Fi device (without internet) is set up in the hall.
The teacher’s phone (admin) connects to the network and is assigned a static IP address.
Students connect to the Wi-Fi to download the exam, then disconnect after receiving it.
After finishing the exam, students reconnect to the Wi-Fi to submit their answers.
So far, the system works well.
The Problem:
If there are more than 500 students in the hall, and the available router supports only 100 connected devices simultaneously, two issues arise:
Number of connected devices: The router cannot handle this large number of connections.
DHCP issues: Due to high demand, many devices may receive incorrect IP addresses, leading to failed connections, even though I ensure that IP addresses become available after two minutes once a device disconnects from the router to provide IPs for new devices.
Constraints:
• The current router is the only available and optimal device, and no additional devices can be added because the device needs to be set up and dismantled during the exam period, as the hall location changes.
Proposed Idea:
Instead of having all students connect to the router directly:
Divide students into small groups (e.g., 5 students per group). One student in each group connects to the router directly, while the other students in the group connect to this device to get the exam and submit their answers.
Alternatively, make the admin’s phone act as the processor instead of the router to distribute IPs and ensure stable speed and performance. However, I don’t know where to start if I want to implement this.
Challenges:
Transferring data between students without requiring the user’s approval every time. Approval can be given once during download and once during submission, but not more or less, specifically for the selected phone connecting with the group.
Ensuring the data transfer process does not result in the loss of any answers.
Determining which devices will connect to the router or to other devices for sending and receiving exams and answers.
Questions:
I mainly need guidance on where to search for the best solution or similar experiments for this idea.
In your opinion, which solution would be the best?
Hey everyone!
I’m building a project where feeds are a core part of the functionality. I was initially considering using GetStream Feeds for this, as it’s an MVP. However, I’ve realized that their Flutter SDK is unmaintained and will remain so. The REST API is also a bit over my head, especially with handling tokens and permissions separately.
I noticed that their React Native package is still maintained, so I’m considering either switching to React Native for this project or continuing with the Flutter SDK (even though it’s no longer supported). The downside of the latter is that it could restrict future package upgrades. The thing is if we see traction and hit a point where getstream is expensive we will remove it from our app and go full on postgresql and dive deep into the complexities of that.
For now, GetStream will serve as a secondary database for the feeds, but everything will remain in our primary PostgreSQL database.
Hi everyone,
I’m currently developing a kiosk application using JavaFX. The app is used by customer, making payments (integrating with an EDC), and issuing keys from a key dispenser. While JavaFX has served us well, we’re facing challenges with creating responsive layouts that adapt to different screen sizes and orientations (landscape/portrait).
I’ve been considering switching to a more modern framework that offers:
After researching, I found that frameworks like Flutter could be an option, as it supports desktop apps and cross-platform development. However, I’m concerned about:
Would Flutter or another framework like Electron or web-based solutions be better suited for such use cases? Or should I stick to JavaFX and find ways to optimize its responsiveness?
Any advice, experiences, or suggestions would be greatly appreciated!
Even when I type out something primitive:
final String s = 'Hello';
The dart analyzer server (dart process) immediately jumps to 100-200% CPU usage (it appears bottlenecked by single-thread performance). If there is an error/warning, each character of the line of code is slowly underlined.
Running "Capture Dart Analysis Server logs", I can see that the server is referencing what appears to be every single .dart file in my project - hundreds of separate files. I do have custom analyzer rules to exclude generated files and unnecessary folders. The server logs from recording a single line of code (declaring a variable; <10 seconds) comes out at 3151 lines, with "package:my_package_name" occurring 4012 times (referencing individual files/packages within my project).
I'm running on a fresh installation of macOS Sequoia, using the latest VS Code. The only VS Code plugins I have enabled are Dart, Flutter, and a theme. All up-to-date official release. The only lint dependency I have is "flutter_lints" 5.0.0.
My specs are:
i9-13900k
64GB DDR5 6000
RX 6950 XT
Gen4 nVME SSD
macOS Sequoia 15.1.1
I closed all open files in my project, created an empty dart file and began declaring a variable. The output analysis server log hit 22MB in just 9 seconds of recording.
Does anybody else have this issue? It's driving me insane.
Hey there,
I’m exploring how to develop a Netflix-like app and would love to hear your insights!🙏
What’s on My Mind
If you were tasked with building Netflix in 2024, how would you do it?
I’m open to any ideas, tips, or pitfalls to watch out for!
Thanks in advance for sharing your thoughts and experiences!
So the Flutter app is finished and released. So, what's next?
How do you guys promote your app? Are there some pages? Do you make some social media?
I published my next app project two weeks ago, and I guess for most of us, the hardest part is sharing the apps and doing some marketing.
So on all successful indie developers here. What are your advises for us newbie indie devs?
Hi Devs.
I want to learn Dart and Flutter from ground up and I have limited programming skill. I've coded in python and java for some very basic things and now I want to learn flutter. I don't mind paying for any services if I have to or hire tutors but I don't know where I can do that or find such platform to begin with. I found most free youtube videos kind of lame and if you can recommend some would be great.
Any help would be much appreciated.
Hi everyone,
I’ve been working as a Flutter developer for the past 2 years and am now looking to expand my skills by diving into backend development. There are so many options out there, and I’d love to hear your recommendations.
Some context about me:
Should I go with Node.js, Django, Laravel, or perhaps something like Supabase or Appwrite for simplicity? Or would you suggest going deeper into raw Dart for backend development?
Looking forward to your suggestions!
Every time I want to install a new package that requires newer sdk version, I experience hell. When I click on the lovely little green triangular button to run my app with a newer version of sdk, my other dependencies start screaming on the terminal especially firebase (almost always), gradle this and gradle that. compatibility issue, version issues, cannot establish connection to some url (gl.google.com/something/something), and all sorts of configuration issues.
The way I solve this is to blindly follow the instructions which I find on the internet which usually includes, pasting a few lines on the gradle files or increasing or decreasing versions of the sdk.
What I hope to seek here is, How do I go about updating my sdk without having to disturb my current state of the app.
Since there was fine interest in riverpod articles while still it was riverpod 1, migration article came (late I know)
What is a good generic way to handle errors without writing error handling code in every UI widget. For example, let's say we have a logged in user performing actions in the app and the login expires (JWT). Then the user tries to perform an action and the server returns error '401 - unauthorized' because it can no longer authenticate the user, whose JWT expired. The reaction of the app should be either a) show an error message and return the user to the login screen or b) refresh the JWT token and continue.
How can a flutter app have a generic error handler that can do these actions, given they are tied to the UI? Showing a dialog or using Navigator to return the user to login screen is tied to `BuildContext` which is a UI dependency. So I don't think that storing a reference to the repository/api-client would be prudent. How do you handle such cases in your apps?
My current approach is having a utility method that takes in the context and an exception to write the error-handling code once. But still I have to call it on every UI that performs an API call with a try/catch. Seems repetitive.
Started working on a Material-UI / Flutter Theme Editor.
Before sinking any more time into this, wanted to know if anyone would actually find this remotely useful?
https://bobbyholmes.net/design_editor/
Given these things already exist, my thoughts to improve on this type of editor would be either a set of predefined themes and/or the ability to save themes to share with others?
Any feed back appreciated (constructive is better) but hey I know its not very fleshed out or functional at this stage.
Hey everyone! 👋
I wanted to share MyOllama, an open-source mobile client I've been working on that lets you interact with Ollama-based LLMs on your mobile devices. If you're into LLM development or research, this might be right up your alley.
**What makes it cool:**
* Completely free and open-source
* No cloud BS - runs entirely on your local machine
* Built with Flutter (iOS & Android support)
* Works with various LLM models (Llama, Gemma, Qwen, Mistral)
* Image recognition support
* Markdown support
* Available in English, Korean, and Japanese
**Technical stuff you might care about:**
* Remote LLM access via IP config
* Custom prompt engineering
* Persistent conversation management
* Privacy-focused architecture
* No subscription fees (ever!)
* Easy API integration with Ollama backend
**Where to get it:**
* GitHub: https://github.com/bipark/my_ollama_app
* App Store: https://apps.apple.com/us/app/my-ollama/id6738298481
The whole thing is released under GNU license, so feel free to fork it and make it your own!
Let me know if you have any questions or feedback. Would love to hear your thoughts! 🚀
Edit: Thanks for all the feedback, everyone! Really appreciate the support!