Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

How to take Screenshot of Camera Preview
So i tried taking screenshot of camera Preview but when i take pic it gives me a blank pic any solution to this will be helpful

August 05, 2021 at 02:20PM by omega_savvy
https://ift.tt/3inzRL1
New post on /r/flutterdev subreddit:

Refunds for In-App Purchases in Flutter
Hello everyone!I’m currently having a hard time figuring out how to handle refunds for In-App Purchases. I have a coins system which are stored in a Firebase field for each user when they purchase a package. The problem is that if a user issues a refund and it’s approved, the coins still remain in its account. This could create major exploits for both iOS and Android users and it could be a problem. It’s also important to know that I don’t reference the QueryPastPurchases in the app but I only keep track of the user’s coins from the database. That’s because the users don’t spend the coins performing actions but they’re spent over time in the backend.I searched on stackoverflow, github ecc.. but I haven’t found anything helpful so far.If you had experience with refunds in Flutter please share your experience, it will be of big help!Thank you!!

August 05, 2021 at 03:30PM by Icy_Entertainment847
https://ift.tt/2Vv8wh8
New post on /r/flutterdev subreddit:

Analysis of Stack Overflow 2021 Developer Survey for Flutter Developers
I wrote an article about the results of the Stack Overflow 2021 Developer Survey with a focus on what it means for Flutter developers or people who are deciding whether or not to use Flutter versus either native SDK or React Native or even Cordova.These are my opinions and I welcome other viewpoints as it will help me to learn. Thank you.​Flutter is loved, second only to .NET, because of the Flutter workflow. 68% love Flutter, 73% love .NETCordova is dead in the water, so you only need to compare Flutter with React NativeEnthusiasm for Flutter by developers will push Flutter into the enterprise in the next yearAlthough growing rapidly, Flutter is not as popular among professional software developers, likely because Flutter is newer than React Native, 16% React Native, 13% FlutterFlutter "Want" is below React Native, likely because more developers are familiar with React Web. 18% want React Native versus 16% want Flutter. My opinion is that in the final 10% of development for production of both iOS/Android release, that developers will have more problems with React Native. Realistically there will also be problems with Flutter for many appsDart language is solid, but not really a big draw. Dart has less language features compared to Java/C++, but most developers don't need those features, so enjoy the simplicity of Dart. Hey, I don't need to access or manage memory in that great detail for my apps.The Dart tools including the technology for hot-restart, hot-reload, and build to native are a big draw. It works for me. :-)Flutter Web and Flutter Desktop are not ready for production, so don't count on those advantages for single enterprise deployment. I could provide a long list of current problems, but let's just throw out lack of SEO on Flutter Web and slow initial load times to give people a feel.Flutter is great to use right now in production. However, the most successful projects, are led by people who read beyond the hype and understand the shortcomings of any technology so they can allocate resources accordingly.

August 05, 2021 at 10:41PM by cloudster314
https://ift.tt/3At7FwD
New post on /r/flutterdev subreddit:

Feedback on Flutter Design Patterns
Hello everyone!For your convenience, I've created a list in Medium where you can find all the articles about Flutter Design Patterns in a single place here.Also, I have some plans to deploy all of these articles, code examples and the app itself under the specific domain soon. This series became really popular among the Flutter Community, that was basically the beginning of my journey in Flutter world and a significant push to become a GDE later on, too. Hence, if you have any other requests on how I can improve this project in any way - please, let me know.Save trees. Stay SOLID. Enjoy! 💙Mangirdas Kazlauskas @ mkobuolys

August 05, 2021 at 10:14PM by mkobuolys
https://ift.tt/2VmuRh8
New post on /r/flutterdev subreddit:

How to create a Flutter Application Integrated With Artificial Intelligence?
https://ift.tt/3ChvQ2N

August 06, 2021 at 06:57AM by RachaelGrey28
https://ift.tt/3rUVdSY
New post on /r/flutterdev subreddit:

Experience of Flutter after web dev and question to Flutter devs
Hello,This is not a help request, but rather a question to communityLearning Flutter for 3nd month now and I'm a bit overwhelmed by styling in Flutter. In web dev styling GUI felt way easier, using CSS/SCSS and HTML.Especially, when you got such a simple task to do like to make a button's border rectangular, instead of round. And.. you're f-ked up, because whereas in CSS you could do it in one line: border-radius: 5px;
But in Flutter, oh boy, I have to google it for some time to find working solution, finding it only on third-party websites like Stack Overflow, because documentation simply doesn't contain it for some unknown reason.When I go looking for it I open documentation, search for ElevatedButton: here's link. Then I see mentioning of a shape attribute and head there: link. And boom! it only has declaration of the field: OutlinedBorder? shape. No information on how to use it, what kind of OutlinedBorder class descendant should I use with ElevatedButton.Compare it to CSS: I google it, I immediately get an answer and few usage examples.Moreover, eventually after finding the answer some time gets spent on figuring out that:
shape: MaterialStateProperty.all<RoundedRectangleBorder>( RoundedRectangleBorder( borderRadius: BorderRadius.zero, side: BorderSide(color: Colors.red) ) ) 
piece doesn't work, although it's mentioned everywhere, you only need to use RoundedRectangleBorder.I find the task of remembering these class names/constructions very hard, considering the fact that many items get deprecated/renamed/moved/etc. And documentation doesn't make it any easier, as if you even a bit custom behavior (like rectangular border) you need to google around for a while.So I would like to ask the Flutter community how do you cope with such situations? Do you plain remember all these class names? Or you keep a personal dairy to quickly take out solutions later?

August 06, 2021 at 12:26PM by fabulousausage
https://ift.tt/3xqUWsk