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

Speeding up dart auto completion for M1 Macs
Hey all!I got a new Mac m1 and after installing Flutter I noticed that things weren't as responsive and it was overall not too great of a work environment.I found out that the bundled dart sdk with Flutter is not the arm version.I then followed this stackoverflow posthttps://stackoverflow.com/a/69506979/4310761I'm not sure what'll happen during an upgrade but it's 1000% worth doing for the noticable improvement

December 15, 2021 at 11:44PM by Dgameman1
https://ift.tt/3ISod5U
New post on /r/flutterdev subreddit:

Provider, Riverpod, and GetIt are not state management solutions. Prove me wrong.
Ok, the title is a little clickbait. But the general idea here is I find the line between DI/service locators and state management in Flutter really blurry and wondering if anyone can clear things up for me.In Android, for example, Dagger/Koin are considered DI/service locators solutions because they create, store and provide dependencies to others. And when you want to manage your application's states, you use patterns such as MVP, MVVM, MVI.Going back to Flutter, I find little difference between Provider/Riverpod/GetIt and Dagger/Koin, they all manage dependencies. No package actually mentions where to store or how to organize your states. When people mention using them as state management solutions, it is usually with other stuff that manages your states like ChangeNotifier, ValueNotifier, Stream. Bloc/Mobx/MVU/Redux, on the other hand, actually provides a pattern for you to manage your states. One of the popular comparisons, Provider vs Bloc, then becomes somewhat confusing, rather it should be something like ChangeNotifier vs Bloc.Am I understanding state management too narrow and literal? Perhaps. But not drawing a line will lead to bloated packages, cough, GetX, cough. So, what are your thoughts? Is there a line to draw?

December 16, 2021 at 07:10AM by lgn03
https://ift.tt/3mbg574
New post on /r/flutterdev subreddit:

Survey on 'Community Platform Choice for Mobile developers'
Hi all,I have been struggling to choose the right platform to interact with Mobile developer communities and get insights lately as part of my job role. The community seems to be scattered across multiple platforms like Discord, Facebook, Slack, and so on.To understand this better I have created a quick (1 min) survey and would really appreciate your help to know your preferred platform.Link: https://forms.gle/ysxos9FimW9c1ccf8Your contribution would really help me in gauging the right platforms to target and interact with the mobile developer community. I request you all to please take up this 1 min survey to provide us with your preference. Your help would be highly appreciated :)

December 16, 2021 at 09:33AM by Friendly-Fan-8607
https://ift.tt/33t0Y29
New post on /r/flutterdev subreddit:

Learning curve of Flutter/Native-Ios and Swift/Dart. And Documentation for both
Hello All, This is my first time posting to Reddit. So apologies if I am breaking any rules.I recently enrolled in Angela’s ios course and have completed about 35% of it. I am really liking it and learning a lot. But the problem is ios documentation is so referenced based rather than example based unlike in flutter or Android, which makes me think that it will be difficult once I start coding on my own to turn references documentation into actual code.I read flutter and dart documentation and I must say they are superior to ios and provides much more depth and examples making it easier for starters.I tried leaning flutter for few days and only thing I found hard to pick up is the widget style layout system. But even SwiftUI and jet pack compose will soon adopt this as well, and than I will be forced to adopt it instead or UIKit.I am not in rush of finding job. I just want to learn better and future proof technology.Can anyone tell if learning flutter/dart instead of native will be an advantage in coming future? I am of course aware about some use of native stuff in flutter.I plan on mostly bringing my ideas to life which are not graphic intensive and some free lancingPlease share your suggestions.

December 16, 2021 at 10:23AM by ptlsajan10
https://ift.tt/3oZcWJd
New post on /r/flutterdev subreddit:

Enforcing Clean Architecture to my imports
I'm looking for a way to enforce the clean architecture pattern to my project imports.My code is splitted like so on the root folder:core/domain/data/app/ (presentation layer)main.dartI would like to implement an analysis rule preventing any import from data or app in my domain layer.
My data layer should also not be able to import anything from the app folder.I don't think there is a way to do so using the dart static analyser rules.What would you suggest ?
I'm thinking of implementing something on my CI or make a VSCode extension to check imports.

December 16, 2021 at 12:04PM by DuckNorris44
https://ift.tt/3yyMQ2J
New post on /r/flutterdev subreddit:

Use M1 Mac as Simulator
Is it possible to use my M1 Mac for debugging iOS Apps that are written in Flutter instead of using the normal iOS Simulator? The exported Flutter iOS App also works on my Mac

December 16, 2021 at 12:25PM by Robin3941477335
https://ift.tt/33zMMVf
New post on /r/flutterdev subreddit:

Google Play Data Safety Section
Recently, I was working on an app that had Google AdMob SDK integrated into it. While publishing the app on Google Play Store, I came across the Data Safety Section on the console. It asks for developers to declare the data types the app, or any 3rd-party SDK collects from the user. For my app I was easily able to create a list of data points I was collecting, however, for Google AdMob, there is literally no particular location to get that information.Frustrated by the endless search, multiple blogs, and long documentations, I finally decided to create an open-source knowledge bank to host all of that information. Compiling all the research I, along with my fellow developer colleagues, have hosted a GitHub repository containing all the information that we have been using constantly. It makes it so much easier even when a small community of 3-4 developers can create such a useful resource, saving our effort and time.https://github.com/Privado-Inc/SDK-Privacy-ReportI hope this might be helpful to numerous other app developers and will keep updating the list as we work on other SDKs. Feel free to provide valuable feedback, and contribute to the list so that others can benefit from the open-source community.

December 16, 2021 at 01:29PM by Flashy-Chicken2407
https://ift.tt/3F2BUNs
New post on /r/flutterdev subreddit:

With 2.8 published, how close is Flutter Web to production-ready now?
2.8 is published recently and I heard there are great boosts. So I'm wondering if Flutter is getting ready for production?- For web app?- For Site?

December 16, 2021 at 03:14PM by juuyan
https://ift.tt/3GRw5TI
New post on /r/flutterdev subreddit:

How to get excel file object efficiently in flutter 2.8?
I'm using excel 2.0.0-null-safety-3 in my project.To get excel object,
var bytes = File('filePath').readAsBytesSync(); Excel excel = Excel.decodeBytes(bytes); 
Now, if user selects very large file, decodeBytes or readAsBytesSync takes longer than usual.I've put decodeBytes in compute() function to use ISOLATE.
Excel excel = await compute(Excel.decodeBytes, bytes); 
When it returns the excel object, the UI gets stuck for 3-4 seconds. I don't know why !! ( File size was ~600 KB & rows were ~15k)What am I doing wrong? OR How can I improve my code?

December 16, 2021 at 02:49PM by AbhisekPatil
https://ift.tt/30xUuhx
New tweet from FlutterDev:

🦋 Chapter 11: Pop Quiz! The best HTTP status code to receive in a response is... #flutterapprentice— Flutter (@FlutterDev) Dec 16, 2021

December 16, 2021 at 06:00PM
https://twitter.com/FlutterDev/status/1471525659818164228
New post on /r/flutterdev subreddit:

Flutter MVVM and Clean Architecture Series
Hi all, I’m writing a series to cover more in depth MVVM, state management, dependency injection, multi-package, while applying concepts of Clean Architecture.There are three articles written. This is the first one: https://cassiuspacheco.com/flutter-mvvm-and-clean-architecture-part-1-setup-ckvxo2f6q021rz2s1825l8bf1

December 16, 2021 at 09:53PM by casspach
https://ift.tt/30yCy6p
New post on /r/flutterdev subreddit:

Flutter vs React Native - advantages and disadvantages
Advantages:Flutter:a single code base for both platformsFlutter is rapidly growingthe only option for mobile SDK with reactive views without JavaScript bridgeextensive documentationpossibility to implement any native featurehas its own widgets, so there’s no need to access OEM onesofficial support for Flutter by almost all SDK providersmuch faster than native developmentReact Native:stability (over 6 years on the market)JavaScript is a more popular languageplenty of tutorialsfaster web page loading timeDisadvantages:Flutter:is on the market for a short period of time so some call it immatureDart programming language is not as popular as JavaScriptFlutter doesn’t support 3Dapps for watchOS or CarPlay need writing custom native implementationReact Native:difficult to debugnot a good choice if user interface is crucialproblems developing custom moduleshard to keep up with frequent updates

December 17, 2021 at 01:48PM by AppUnite
https://ift.tt/3e12jPR
New post on /r/flutterdev subreddit:

App Feedback Thread - December 17, 2021
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods

December 17, 2021 at 03:00PM by AutoModerator
https://ift.tt/3F1DcIu