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

Willing to contribute?
Hey there, I am sarvesh and I would like to know if anyone would like to contribute to yahoofin
New post on /r/flutterdev subreddit:

Change theme color using a button
There is a simple way to change the application theme color simply by clicking a button using onPressed: () { } ?

June 08, 2021 at 04:53PM by g0tham_
https://ift.tt/3vcGTFL
New post on /r/flutterdev subreddit:

How does compute work?
An app I'm working on is a bit slow (its littered with async calls). I wanted to improve its performance, researched on isolates and after implementation, the functions were significantly slower. The phone I'm debugging with is not a fast one so perhaps that wasn't needed but why would compute take significantly longer?I took time to test this out with a simple json decoding function and this is it;Map getMap(String json) {
return const JsonDecoder().convert(json) as Map;
}final Map data = await compute(getMap, json, debugLabel: getMap.toString());The above takes about 30% longer to finish and return a result compared to this;final data = const JsonDecoder().convert(json);Is overengineering the issue here? I tried moving the operation of many other functions in the app to isolates and they were much worse in terms of speed (about 100% slower in some cases). What I'm I doing wrong?

June 08, 2021 at 07:18PM by HenryNanaAdu
https://ift.tt/3w6zLM6
New post on /r/flutterdev subreddit:

Release 2.2.1 is so disappointing
If you upgrade your app from 2.06 to 2.2.1 be ready for some issues.ListView scrolls way to fast and long. A simple drag gesture will scroll your list for like 5 seconds until the bottom (didn't found a solution)BottomSheet is covered behind the keyboard (we need to get the margin from the keyboard again). Even then it will break the design on the closing animation. (only a partial solution)BottomSheet open performance with autofocus on a textfield or on close with keyboard open is super laggy. On versions before 2.0.6 this was smooth as well. (didn't found a solution)I downgraded back to 2.0.6 because of the ListView issue, no clue if this happens on some circumstances for my app or in general, maybe I will try to reproduce it.

June 08, 2021 at 07:12PM by KaiN_SC
https://ift.tt/3x6QNKh
New post on /r/flutterdev subreddit:

Selectable hashtags example with null safety ?
Hi Everyone - Has anyone implemented hashtags in their app with null safety ? Please share a GitHub link if you can.Thanks

June 08, 2021 at 08:28PM by anamak9
https://ift.tt/2SbrIPF
New post on Flutter Dev Google group:

Web apps made by Flutter?
There are so many popular mobile apps made with Flutter, but what are the popular web apps made with Flutter?

June 09, 2021 at 01:55AM by Siva
https://ift.tt/2TbY2BU
New post on Flutter Dev Google group:

Plz solve my error: FAILURE: Build failed with an exception.
Hello, I just install flutter+git+androidstudio and tried my first flutter project to run on emulator but I am getting error. Plz check attached images to understand error,

June 09, 2021 at 08:47AM by Abhishek Chaudhari
https://ift.tt/3isy8EL
New post on /r/flutterdev subreddit:

Do you generate your own classes/widgets to interface to flutters widgets
I've just upgraded from 1.x to 2.10, I initially set out to upgrade to null safety but a number of dependencies haven't been migrated as of yet.Along with upgrade I also updated majority of my dependencies, I'm hoping after this step that the step towards null safety is a lot clearer (i.e I don't have to wade through API breaking changes along with null safety).Apart from fixing the breaking changes, what's been really frustrating has been handling flatbutton > textbutton, raisedbutton > elevated button. This was littered throughout my app and each one had to be handled invidually.I ended up generating my own widget which was just a wrapper for the flutter widget. Just so that in the future this is not as painful. I used to do something similar in other languages/frameworks, but I didn't think the buttons will be altered in this way.Just wondering whether anyone else is doing this ?When I first updated I had about 1500 problems, I've been cleaning up over the last couple of days and I'm down to 475.

June 09, 2021 at 09:36AM by ifndefx
https://ift.tt/2RC0RM9
New post on /r/flutterdev subreddit:

My Second Ever Package
I just published my second package "vertical_tab_bar_view".some constructive criticism about the readme would be greatly appreciated.

June 09, 2021 at 01:03PM by NeatFastro
https://ift.tt/3v6mT7q
New post on /r/flutterdev subreddit:

What Should I do?
I was working on the flutter packages where users can send OTP via email with a custom template, so how can I implement it? is I directly create send email function in dart or write some extra script ( something in python or java ) and upload it on the server.

June 09, 2021 at 01:28PM by Prashant_4200
https://ift.tt/3pIUVxG