Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

write a function to determine if the second string is an anagram
main() { var a = anagram("hello", "hello"); print(a); } anagram(String first, String second) { if (first.length != second.length) { return false; } const lookup = {}; for (var i = 0; i < first.length; i++) { var letter = first[i]; lookup[letter] ? lookup[letter] += 1 :

October 28, 2020 at 05:48PM by Droper
https://ift.tt/2TuW7FB
New post on /r/flutterdev subreddit:

Flutter Buddies community update - Groups are ready to join!
Hey Flutter Buddies!I just wanted to say that I was expecting maybe another 20 or 30 people to join our discord server group when I posted this post the other day, but you all surprised me when nearly 300 joined. I was expecting 2X, but you 15X it! It just proved to me that there's a need for a close-nit community for the solo flutter developer.We weren't expecting that... at all. In order to handle that many people we had to set up some serious infrastructure to make sure that everyone gets some benefit. Group size is the concern, too big of a group and some might feel left out, that's the opposite of our goal. We wanted no one to feel lost. Trying to divide 300 people up is a huge task. So we implemented 13 groups and created a tentative weekly recurring schedule for those 13. 10 English speaking channels and 3 alternative languages (French, Spanish, and Hindi) If we need more, we have a template now and can launch quickly. It took u/definitely_robots and I almost a full 24 hours to implement that and recruit some great group leaders that gave some terrific feedback.I am not coming to r/FlutterDev to promote Flutter Buddies, but you're welcome to join if you haven't. http://flutterbuddies.com/ I just wanted to come back here one more time and let anyone know that came and couldn't get into a group yesterday or that couldn't figure out when the meetings are, the groups and schedules are (finally) ready! All day today (Wednesday 10/28) we are letting people choose and fill in their groups and start to get to know each other. The group schedule starts Thursday 10/29 and there's at least one to three virtual meetups every day of the week, all different times, so you should be able to find a slot that works for you.If you are having an issue with the server, this might help:You need to go to the #welcome channel and click the thumbs up on the server bot message to become an official Flutter Buddy Flutterer.This just means you understand that group virtual meetups are our thing and it unlocks the "member's only" section. This isn't meant to keep anyone out, it's just a way to gauge your commitment for everyone in your group. Do this at any time.Once you're a Fluttering Flutter Buddy Flutterer, you can join any group in the #join-group channel. Check the schedule and find a time that works for you (be careful, the times are posted in UTC +0, so there's a conversion chart and link to a converting website)You can join as many groups as you want, but you'll now have messages and meetup times from each group you join.You can change your groups at any point, just go back to #join-group, but if something is bothering you about a group, let me, your group leader, or @robots know.That's it, have a fluttery day!PS, we are discussing a group project, so stay tuned to the server for that when we figure out how to organize it.

October 28, 2020 at 05:16PM by joeyda3rd
https://ift.tt/2HyOR9q
New post on /r/flutterdev subreddit:

[Article] Firebase notifications on Mobile and Web
https://rouxguillaume.medium.com/flutter-fcm-notifications-on-mobile-and-web-3a23db50d61d​A few days ago I've published an article on Medium on how to implement Firebase Cloud Messaging notifications on Mobile & Web using the same codebase. Here it is for those who might be interested.

October 28, 2020 at 04:55PM by TesteurManiak
https://ift.tt/3oyKVWE
New post on Flutter Dev Google group:

Quiz App--store "mistakes" in a list, pass this list to Results Page, and display it in a listview
Hi Flutter Community, I am working on a quiz app (true/false). I want to store the string of each "Question" into a list ("errors"), pass it to my Results Page, and then display it there using a ListView. However, I haven't had much success--I've tried different things, such as this one, without

October 28, 2020 at 06:10PM by Andrew Villegas
https://ift.tt/3jBHcnI
New post on Flutter Dev Google group:

Null Safety and MediaQuery.of
Hi, With null safety enabled, what is the best way of handling if (debugCheckHasMediaQuery(context) == true { if (MediaQuery.of(context).size.width) > 500) { } } Line 2 gives https://ift.tt/34D37X2

October 28, 2020 at 06:44PM by Kevin Chadwick
https://ift.tt/3jGmSBs
New post on /r/flutterdev subreddit:

How do you handle the device sleeping on you with flutter?
I have a BLE app and the device will sleep after X seconds of inactivity. If this happens, my app basically crashes when the phone activity is resumed. So I need to detect this change or prevent the app from suspending. It would be great to prevent the app from suspending because then it could still collect data. It would be even better to prevent the screen from shutting off altogether. :)

October 28, 2020 at 06:43PM by 11010001101001
https://ift.tt/3kHlwaY
New post on Flutter Dev Google group:

SEO-Friendly Flutter Web app
Hi Flutter community, We a recently built our first flutter web app and it was a great experience. We are now faced with the problem of making the content SEO-friendly but couldn't find much documentation on the best practices or approaches. We’d really appreciate if you could share some

October 28, 2020 at 07:14PM by Quan Nguyen
https://ift.tt/2TxCs7V
New post on Flutter Dev Google group:

How to update a CustomScrollView when returning from detail screen
I have a Scaffold that contains a *CustomScrollView* showing a list of items that the User has not tried (and another one that shows the items the User has tried). Using the fantastic package flutter_sticky_header
New post on /r/flutterdev subreddit:

Any shortcut for removing all unused imports in vsCode?
Is there any extension/script that can remove all unused imports and also sort them in vsCode in my flutter project?I think there's one for intelli J but i don't use that IDE

October 28, 2020 at 07:29PM by neattike
https://ift.tt/3myuxUu
New post on /r/flutterdev subreddit:

I don't generally use optional name parameters in my widgets...do you?
Quite often when I create Widgets in flutter that take parameters in their constructors, said parameters are not optional. Since they are not optional, I decide to not make them optional named parameters, but rather positional arguments, since these are the only ones that are required and enforced by the language.It seems like bad practice to me to make required args to be allowed to be optional for the sake of having them be named params.I also don't like have to include another package and annotate every single arg with "@required".Does anyone else make widgets with unnamed positional args? What are your thoughts on this matter?

October 28, 2020 at 07:22PM by scorr204
https://ift.tt/2TA2ibu
New post on /r/flutterdev subreddit:

Is there any site like Flutter Gallery App? I want to see more examples and codes or UIUX ideas!
I am trying to get used to Flutter and Dart. I downloaded the Flutter Gallery App. Is there any website like Flutter Gallery? Or any design framework like MUI for React?

October 28, 2020 at 09:06PM by uosioifeaaa
https://ift.tt/3jC2u4C
New post on /r/flutterdev subreddit:

Sony: Flutter and Wayland is the best practice in embedded systems using Linux
https://ift.tt/2TwT9QN

October 28, 2020 at 10:36PM by illuminated-geerd
https://ift.tt/34C9RVh
New post on /r/flutterdev subreddit:

Is building an application launcher in Flutter Desktop a feasible idea?
I was reading this article and it made me wonder if Flutter in 2020 would have been a better candidate for building an application launcher.Specifically, the features required here are:The window must be chromeless (no titlebar/close buttons)The window needs to float on top of everything else, and exit immediately once focus is lostAn interactive text based selection menuFast startup timesI'm fairly new to Flutter but I'd like to know the community's thoughts on this - is Flutter an ideal choice for a usecase like this?

October 28, 2020 at 10:21PM by PM_ME_ELEGANT_CODE
https://ift.tt/31T08Z0
New post on Flutter Dev Google group:

عاوز تتعلم تطبيقات الموبايل ابلكيشن ؟ اول كورس عربى كامل #اتعلم_اونلاين #منصة_mydixi
عاوز تتعلم تطبيقات الموبايل ابلكيشن ؟ #اتعلم_اونلاين #منصة_mydixi اسمع الفيديو دة من كورس Build Native Mobile Apps with Dart & Flutter https://ift.tt/3mui5oA كمان تقدر تسمع الاجزاء المجانية من هنا https://ift.tt/35Gz28p

October 29, 2020 at 12:36AM by Ahmed El Bohoty
https://ift.tt/3oAEF0t
New post on /r/flutterdev subreddit:

How to enable CanvasKit / Skia in Flutter web
https://twitter.com/creativemaybeno/status/1321623116716658688?s=20

October 29, 2020 at 02:21AM by creativemaybeno
https://ift.tt/2Tys3sD
New post on /r/flutterdev subreddit:

Restaurant app: Which state management is better? Provider or bloc or getx or redux or else
I am a beginner in Flutter and I am trying to make a Restaurant app. I have learned about google's recommended provider package. But I found some articles about bloc - business logic component. So I really get confused about which one to use. Is anyone here already made a Restaurant app or something? please suggest which state management to use?View Poll

October 29, 2020 at 04:15AM by Cat-Otherwise
https://ift.tt/2JgA3g1
New post on Flutter Dev Google group:

Using scan device SDK .jar
I have tried to use .jar in flutter but not access the methods of .jar. Share me suggestions or solutions. I have tried jar given below steps. 1. Create and add module in Android project like "scansdk". 2. Put .jar file with gradle file in folder. 3. Add in setting.gradle. 4. Create

October 29, 2020 at 09:32AM by Patrics Augurs
https://ift.tt/2Gc85Rq
New post on /r/flutterdev subreddit:

Frontend web dev looking to get into Flutter.
Hey,I'm a frontend web dev and I've been looking to get into mobile dev for a while now. But since I have no experience in backend and I'm honestly only interested in frontend I was wondering if it's possible to be a mobile frontend dev? I've been looking for some courses about UI/Frontend only but nobody talks about Flutter like frontend/backend is separate, all the courses just cover everything. I've bought this Udemy course https://www.udemy.com/course/flutter-bootcamp-with-dart/ to start with. Do I just stop once I learn UI stuff?Also in web frontend there are web apps as well where you fetch APIs and so on (client side apps) but if I just stop at UI on Flutter it feels like I just learned HTML/CSS for web (example by web development). Can someone elaborate on what's exactly needed to be a Flutter frontend dev and help me out a little?Thanks a lot in advance

October 29, 2020 at 09:33AM by 6ichem
https://ift.tt/3ovOXz0