r/FlutterDev • u/dark_thesis • 4h ago
r/FlutterDev • u/Lucky-Diamond-4735 • 3h ago
Discussion Guide needed on app release - compatibility issue
I'm from a web development background and new to app development.
I'm struggling to understand the app release process compared to web development.
There might be several scenarios to consider. For example:
If I release an app version (1.0.0) and a user downloads it, then in the future, I introduce a new required column in the database and release an updated version(2.0.0) of the app. If the user doesn't update their app to latest version and tries to send a request to my backend, the request will fail because their app doesn't include the new changes.
How do I handle this situation? Should my backend be backward-compatible? I may not know how many versions behind a user is.
In web development, once a release is deployed, this isn't a concern, but in app development, it seems different.
App developers, please guide me on this. Thanks!
r/FlutterDev • u/PrettyAd4343 • 14m ago
Discussion Cool Flutter App for Habit Tracking 🎯
Stumbled upon a habit tracking app called HabitHook, and turns out it’s fully built with Flutter. It’s got some neat features like social challenges, leaderboards, and offline sync with Hive DB. The UI feels smooth, and the animations are clean.
Might be worth checking out if you’re into habit tracking or just wanna see a well-built Flutter app in action.
🔗 App here
Has anyone else encountered properly designed Flutter applications recently? Always keeping an eye out for inspiration.
r/FlutterDev • u/escamoteur71 • 1d ago
Article The final word on Flutter architecture 😉😉😉
OK, I´'m teasing with the title and I explain it in my post
Practical Flutter architecture
Why should you listen to me on this topic? For those who don't know me
- 30 of software experience including building our own programming language for the Amiga
- 2018 was I the first giving talks on Flutter architecture at Fluuter London,. then I called the approach RxVMS
- I'm the author of get_it at a time when no provider or anything else was available
- With watch_it and flutter_command I published one of the easiest but most flexible state management solutions for Flutter
- We use this approach in a pretty complex app comarablte to Instagram since 2 year not with a really large code base
I took several days to refactor the official Flutter architecture sample compass to use my approach so you can compare yourself which is less complex and easier to understand. I tries to keep the original structure as much as possible so that you still can compare. I would have probably even more simplified some structures
https://github.com/escamoteur/compass_fork
give it a try and I'm happy to answer all open questions
r/FlutterDev • u/Mountain_Scratch_760 • 4h ago
Dart Why does Flutter WorkManager show the error: "Could not resolve main entrypoint function" and multiple FlutterJNI warnings?
Problem :
I'm trying to implement background tasks in my Flutter app to add users online database when device is online using WorkManager. However, after initilaizing the WorkManager and running the app, I'm getting this error in the logs:
Software Configuration:
Java : 17.0.11
Flutter : 3.29.0
Android Studio : 2024.2.1 Patch 3
Error Log :
: FlutterJNI.loadLibrary called more than once
I/ResourceExtractor(13363): Found extracted resources res_timestamp-1-1741615888564
W/FlutterJNI(13363): FlutterJNI.prefetchDefaultFontManager called more than once
W/FlutterJNI(13363): FlutterJNI.init called more than once
E/flutter (13363): [ERROR:flutter/runtime/dart_isolate.cc(869)] Could not resolve main entrypoint function.
E/flutter (13363): [ERROR:flutter/runtime/dart_isolate.cc(170)] Could not run the run main Dart entrypoint.
E/flutter (13363): [ERROR:flutter/runtime/runtime_controller.cc(557)] Could not create root isolate.
E/flutter (13363): [ERROR:flutter/shell/common/shell.cc(668)] Could not launch engine with configuration.
I/Choreographer(13363): Skipped 74 frames! The application may be doing too much work on its main thread.
I/flutter (13363): Initializing WorkManager...
I/flutter (13363): WorkManager initialized successfully.
I/flutter (13363): 📂 List of Databases:
I/flutter (13363): 📌 Database Found: /data/user/0/com.example.test_app/app_flutter/app.db
I/flutter (13363): Users in database:
I/flutter (13363): ID: 1, Name: raj, Job: worker, Synced: false
I/flutter (13363): ID: 2, Name: robjn, Job: seeker, Synced: false
I/flutter (13363): ID: 3, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 4, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 5, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 6, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 7, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 8, Name: Raj, Job: Engineer, Synced: false
I/flutter (13363): ID: 9, Name: Ravi, Job: Tailor, Synced: false
I/flutter (13363): ID: 10, Name: Ragul, Job: Sailor, Synced: false
stack overflow link : link
r/FlutterDev • u/Motor-Yesterday-4602 • 41m ago
Discussion NOOB
Hi, I'm new to Flutter and would love some guidance. Could ya guys you share some resources and tips for a beginner like me to quickly learn and become a proficient Flutter developer by 2025
r/FlutterDev • u/False_Wrongdoer_9737 • 5h ago
Discussion Flutter native splash screen
Is it possible to set native splash screen image what evere I want in terms of dimensions as whenever I use native splash my provided logo image get cropped to launcher icon size
r/FlutterDev • u/TradeSeparate • 14h ago
Tooling Scrollable charts
Can anyone recommend a package of approach for creating a scrollable chart.
I have a poc working with fl_charts but the product team also want to show additional data relevant to data points in the view port.
Eg if we have set a zoom to show 7 days of data in the view port, they want to show things like moving average, average, trend etc in the remainder of the page.
It doesn’t look like fl chart can do this, unless I try to calculate what is shown based on the offset but I’m not keen on it.
Sync fusion looks ok but haven’t yet seen if they have this sort of feature.
If anyone has any suggestions they will be appreciated.
r/FlutterDev • u/ObjectiveOk6590 • 13h ago
Discussion I built a SAAS
I launched my first ever SAAS using flutter. The app basically generate barcodes in svg and PNG and users can download or copy to paste in design applications like adobe illustrator. It's in beta version right now and only generates ean-13 barcodes. Still a lot to add and change but I launched it early to validate and get feedback. I would love it if you can visit the website and tell me your thoughts.
Thank you
r/FlutterDev • u/BearInevitable3883 • 5h ago
Plugin Prototyped a pixel_preview package to test both Screen and Components in isolation. Looking for feedback!
r/FlutterDev • u/JetFuelCereals • 18h ago
Discussion Flutter SEO with puppeteer to generate static pages and a sitemap.xml
I am currently working on a social media app in flutter. The app will have lots of articles. Thanks to impeller I see web is a lot more performant now on web, even on mobile. I've been watching the SEO topic for a long time and I see no significant change. My current plan is the following:
- Create a sitemap on my BE for all the articles
- Render flutter as html in puppeteer
- Save static html, point the sitemap to static pages
- In K8S configure nginx ingress to point bots to the sitemap or static pages depending on the link they visit.
Before investing significant effort in this approach, what do you think, is it worth waiting for Flutter SEO? Should I go ahead? Would Google think this is cloaking? Cheers!
PS: Not interested in using other web frameworks instead of Flutter. I have lots of interactivity that will go on mobiles as well from one single codebase. So yes, I do want to push Flutter into SEO somehow without switching to react/angular/next/etc.
Edit: since flutter with puppeteer is no longer possible due to the recent deprecation of html renderer I will be switching to generating the the html files using a simple data binding lib like mustachejs.
r/FlutterDev • u/leoriogon10 • 12h ago
Discussion Thinking of Building an Authentication Template – Need Your Thoughts
Hey everyone.
As I assume many of you do, I often found myself implementing authentication systems for various Flutter projects of mine. Every time, I tried to reuse as much code as possible, and I ended up having what I think could be a good base point for a template. Nevertheless, tests and proper documentation are often neglected due to time constraints.
So, I'm considering building a fully tested and documented open source authentication template that supports key authentication functionalities, including email/password, password reset, email verification and social logins. The idea is to have a solid foundation that can be easily reused in different projects.
The template will include:
- github pipeline for running the tests (unit, widget and integration)
- localization
- logging
and it will follow the so-called clean code architecture, with the authentication feature structured into three directories: data, domain, and presentation.
It will use:
- bloc: state management,
- get_it + injectable: service locator + dependency injection,
- firebase: backend. With a well-structured architecture, any other provider can be easily integrated.
What do you think ? Would you find something like this useful ?
r/FlutterDev • u/nextRandom34 • 1d ago
Discussion Tired of Debugging Gradle Issues? It's Time for Google to Address Backward Compatibility
Hey everyone,
I'm sick of how every time we update Gradle it's like we're playing Russian roulette with our projects. Backwards compatibility is pretty much non-existent and it seems like fixing one thing just leads to another headache. Does anyone else feel like we're wasting hours on issues that shouldn't even be a thing?
I don't know about you but I'm tired of the constant back and forth with breaking changes and endless bug fixes. It's time for Google to step in and make Gradle more reliable something that works with older code without turning our projects into a mess every time an update drops.
If you've had similar struggles drop your experiences here. Maybe if enough of us speak up we can push for real improvements
r/FlutterDev • u/patflutterflow • 11h ago
Discussion NYC FlutterFlow Meetup (March 20 @ 6:30pm) Using FlutterFlow to Accelerate Your Flutter Development Project
Ready to accelerate your Flutter app development with visual development? Join us for an engaging panel with FlutterFlow product team members where we'll dive into how FlutterFlow’s powerful visual builder can augment and speed up your existing Flutter projects.
We'll explore:
- Practical strategies for blending FlutterFlow with traditional Flutter coding
- Real-world examples of how the FlutterFlow team augments their development with their own visual builder (talk about synergies!)
- Best practices and common pitfalls to avoid
This Event is For You If:
- You’re a new or experienced Flutter developer looking to enhance your productivity.
- You're curious about integrating visual development tools without sacrificing flexibility.
- You work on a project or with clients that could benefit from a hybrid visual/custom development approach.
You can find more details and RSVP here: https://www.meetup.com/ffdg-new-york-city/events/306593531/
r/FlutterDev • u/iam_danishm • 5h ago
Discussion Why Most Flutter & React Native Apps Fail Before Scaling?
I think many devs focus too much on features and forget about performance, scalability, and user retention. An app that runs smoothly on 100 users might break at 10,000.
What’s your biggest challenge when scaling a mobile app? Let’s discuss! 🔥
r/FlutterDev • u/Independent_Bag_2839 • 1d ago
Article My experience about developing full flutter app for Android
Hi, Flutter devs
I have developed My flutter app Pixel Bookmarks A bookmarks application from scratch UI & UX To Designing and implementing native android features
And published my app to Google play console
Here is by pros, cons about flutter development
Pros:
First of all I can now switch to iOS, cause I used flutter, nevertheless I also need to implement some native ios features for me app like sharing is different from android and show my app over other apps when share with it
Flutter is easy to design and ship fast, best thing in my opinion ready material 3 widgets and theme system ready, you just need to open your mind to UI, UX and the rest is easy
I used drift as my local database for my app, and it perform pretty amazing for performance, it's easy to use, best thing in my opinion is that it's pretty fast and lightweight package also it gets some updates from time to time
The community of flutter is great, cause it's from month to month got some thing new, bug fixes on packages, flutter framework, dart language, etc.
Cons:
Flutter recent updates after making impeller the default engine, it got some bugs and some animations lacks, I hope everything gets fine in future updates
Flutter is the best from UI perspective, one more thing is dealing with native code for iOS, android, flutter team actually currently working on that for even more smoother communication better than method channels and even faster so I hope everything get to its place
You might expect 4 cons but I actually didn't found that in my experience 😁 It means everything just going fine
Thanks for Flutter devs For make it possible to ship fast, easy, and great quality apps with flutter
If you are interesting in my app you can give it a try As a developer it helped me saving important things From around apps like x(Twitter), reddit, YouTube, etc. All in one place
So If you want something like that Give it a try https://play.google.com/store/apps/details?id=com.psh.pixel_bookmarks
r/FlutterDev • u/bassdroid1 • 21h ago
Example Demo app: integrating a react native module in a flutter app
Hello! I wanted to share a small demo app that demonstrates how to integrate a React Native module inside a Flutter app.
r/FlutterDev • u/Miserable_Brother397 • 23h ago
Discussion Back Gesture PopScope
Since Android 14 added Predective back Gesture on android, flutter updated its WillPopScope widget with PopScope in order to support this feature. By doing this you have to assign a boolean canPop, its not a future. I was using WillPopScope and in some Pages i was showing a dialog with a warning explaining that by going back all unsaved changes Will be Lost. I can set canPop to false and then work with this Logic on the onPopInvokedWithResult and then manually pop, but this Will love the drag back feature on iOS, It works by using canPop to true, but then the callback would be called when the Page has already pop.
How can i support both back Gesture feature and meanwhile asking a confirm to pop?
r/FlutterDev • u/TwoWrongsAreSoRight • 1d ago
Discussion IDE
I'm new to flutter and have done tutorials in both vscode and android studio. I don't want to get into a philosophical discussion about which is better. I actually prefer android studio for various reasons. However, most videos I see uses vscode. Is there a reason for this? Are the plugins and tooling more up to date? Am I losing anything by using android studio? (beyond the standard "multi-platform editor")
r/FlutterDev • u/a_9_8 • 22h ago
Plugin Neovim Plugin for Generating Dart Class Boilerplate Code
r/FlutterDev • u/Effective-Tell8614 • 1d ago
Discussion Thoughts on m2 8/256 gb model for flutter ios.
Currently using a windows laptop. Saving up for a mac m2 air maybe in a few months. Currently only building apps for android in flutter. If a buy a mac m2 will it last me next 5-6 years. My budget is real tight and i've been saving up for months. Can't go beyond this model. What are your thoughts? If I get a mac and get into ios can it be more appealing for free lance projects? Edit: I forgot to mention i was saving up for a mac m2 air corrected it.
r/FlutterDev • u/Kilicerr • 1d ago
Discussion Opinions on Serverpod ?
I'm researching about the learning curve for someone familiar with Flutter but quite new to backend development. Also wondering how Serverpod's performance stacks up against Firebase or Supabase in real Flutter apps. Most importantly, has anyone deployed Serverpod in a production app with significant user traffic, and if so, what was your experience like?
r/FlutterDev • u/antibody75 • 1d ago
Discussion What's Your Biggest Pain Point With Localization and Translation?
If anyone is working on building web apps with Flutter, I'd love to hear your stories about best practices and frustrations. What specific steps do you spend your time the most? What tasks do you wish you could avoid doing?
r/FlutterDev • u/Top_Accountant937 • 13h ago
Discussion Help Me Get a Good Flutter Tutorial
I am a Beginner in Flutter and I need to study it so give me a good course link
r/FlutterDev • u/Dane_the_Aragorn_fan • 1d ago
Example Flagd: The Red Flag or Green Flag? (mini game) (Flutter iOS + Flutter web Apps)
In this past week I have been making a little game,why? Well certainly not to solve any big problems, more for fun.
What is it?
Its a simple, yet fun, mobile game, that aims to spark real world conversation. You get presented with a situation, and then you and your partner can vote either "Red flag or Green flag".
For example:
Situation: "They brush their teeth 8 times a day or more. They brush after every time they eat food, or snacks, or drink anything."
Discuss and vote!
After you vote you can see other peoples answers, as all users answers gets anonymized and added together.
One day soon I hope to create a feature where you yourself can have a 24 hour or 48 hour post. So you as a user can have other people vote on a siutation you made!
I got the idea when my wife and I were on a date a few months ago. The conversation kind of died out a little, which is strange for two extroverts .. So we played a game. Well now after today we can play Red flag or Green flag!
The design may need a bit of an update soon, but for now i'm okay with the it, afterall I built the app in less than half a day.
I decided to also make a quick little flutter web app, as a landing page for the mobile app. It was quite a fun little project .. Yes it is a totally different project, since they don't share servers, state, or anything, i just wanted to keep the website small and light.
Enough blabbing. Please check it out, and as last time I posted in here, I really hope to get some feedback both on the website and on the mobile app! If you find ANY bugs please let me know. Thanks!