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

Will learning Kotlin beside flutter help?
Recently, I want to do "Home Screen Widgets" but I realized I want some "basic" knowledge of Kotlin to build it.. as flutter it self can't do it and native language is a must... so I removed the idea of doing the Home Screen Widgets..Until I wanted to do Alarm App.. and I realized that I need Kotlin to build the "Full Screen Notification" - I sill not sure if there is another method.. However, my question is - Is It Worth it to learn Kotlin beside flutter..If yes.. Approximately how much does it take? To what level should I learn? Where can I learn it from "Free Resource"?

December 15, 2021 at 02:45PM by osamawaseem1
https://ift.tt/3ISnDVR
New tweet from FlutterDev:

D. All of the above is the correct answer! 🥳— Flutter (@FlutterDev) Dec 15, 2021

December 15, 2021 at 09:18PM
https://twitter.com/FlutterDev/status/1471213194827866112
New post on /r/flutterdev subreddit:

Flutter dev with mySQL
Hello guys, I am thinking about writing an app thats needs relational db and I dont want to use firebase cuz of that reason. What is the best way to connect flutter with mysql db?Also can you point me in the right direction for xmpp implementation for flutter?Thanks a lot

December 15, 2021 at 10:05PM by Ok_Remove3123
https://ift.tt/3oVzyuc
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