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

How can I mock Platform.isIOS?
I have a function that depends on what platform you are on. How can I build a test that mocks Platform.isIOS to return true?

May 23, 2020 at 02:44PM by Jeff Jorczak
https://ift.tt/2LPpQVX
New post on /r/flutterdev subreddit:

Charting Package for Flutter
I needed to add charting capability for my app, and chats_flutter appears to tick most of the boxes. But the repo looks like its no longer being maintained by google, and in a reply to a PR someone had said that the team that had worked on it has moved onto other work at google.Are there any other chart libraries that you would recomend for flutter worth looking at which is actively maintained, and provides documentation - I've already tried fl_charts.

May 23, 2020 at 03:45PM by ifndefx
https://ift.tt/2Xqa0X0
New post on /r/flutterdev subreddit:

I developed a Mask detection app please give me suggestions.
Play store:https://play.google.com/store/apps/details?id=com.aniket.maskdetectorSource code:https://github.com/AniketSindhu/mask_detector

May 23, 2020 at 03:43PM by Amazing_Aniket
https://ift.tt/36nlZsq
New post on Flutter Dev Google group:

Does the R8 code shrinker make obfuscating by default?
Here is a quote from *Build and release an Android app* R8 is the new code shrinker from Google, and it’s enabled by default when > you build a release APK or AAB. Does it mean that R8 makes obfuscating by default? If it is so, then why later in the *Build an APK* section the docs says If

May 23, 2020 at 05:59PM by Andreas
https://ift.tt/2ZxcBRx
New post on Flutter Dev Google group:

Re: For what reason the release app bundle will contain the original Dart (source) code?
Without the *compiled* Dart code, the runtime will have nothing to run. On Sat, May 23, 2020, 10:44 AM Andreas
New post on Flutter Dev Google group:

How to exclude the features or plugin in Flutter app and only download the plugin or feature when the user need the feature?
Currently, I am using the flutter ZOOM plugin as dependency in my Flutter App. However, I found that after compiling, the app size is too big and inconvenient for the users to download. So, what should I do to exclude the plugin first and only download the plugin programatically when the user

May 23, 2020 at 06:36PM by Lucas Fancation
https://ift.tt/2AZ2V8x
New post on Flutter Dev Google group:

Re: Does the R8 code shrinker makes obfuscating by default?
You will have to obfuscate your code... Souvik flutter dev On Sat, May 23, 2020, 9:27 PM Andreas
New post on /r/flutterdev subreddit:

How to improve your Flutter application with gradient designs
https://ift.tt/2ysPXid

May 23, 2020 at 06:40PM by Elixane
https://ift.tt/2zoPvSG
New post on Flutter Dev Google group:

How to use --split-debug-info=/
In the command below, how to use *--split-debug-info=/
New post on /r/flutterdev subreddit:

Flutter long shadow animation.
https://ift.tt/2zMBpKN

May 23, 2020 at 08:50PM by jmonga98
https://ift.tt/2LTM6Om
New post on /r/flutterdev subreddit:

Parallax hover effect
https://ift.tt/3gfLu3u

May 23, 2020 at 08:49PM by jmonga98
https://ift.tt/2A8Fl8z
New post on /r/flutterdev subreddit:

Really interesting Flutter callback
Hi! I've been coding up my app and I needed a way to add a listener to a ChangeNotifier, and then remove it as soon as it's called. I'm not sure if there is a better way to do it, but I thought this was really cool and shows the strengths of Dart:
//creates a listener that only triggers once, and then removes itself void createSelfRemovingListener(void Function() functionToCall, ChangeNotifier notifier){ void Function() f; f = (){ functionToCall(); notifier.removeListener(f); }; notifier.addListener(f); } 
so, what happens here is function f is defined, and inside the definition of the function, it calls the function that needs to be called. then, it instantly removes the listener (itself). that means if the change notifier sends out 10 events, the listener will only trigger once!Let me know your thoughts!

May 23, 2020 at 09:38PM by anthOlei
https://ift.tt/2TvZAnA
New post on Flutter Dev Google group:

Very basic but fundamental question
Can we make a website out of a Fullter app? Thanks

May 23, 2020 at 11:50PM by Cindy Wang
https://ift.tt/36qcmZZ
New post on /r/flutterdev subreddit:

[Self-Promotion] Blog post on Expanded vs Flexible
Hey everyone,I wrote a medium article on differences between Expanded vs Flexible. Its not behind paywall and would really appreciate any feedback you have, even downvotes or even being critical.Cheers!https://medium.com/@sid.310/flutter-responsive-apps-flexible-vs-expanded-ff8cc92b468f

May 24, 2020 at 12:04AM by wisecrack2
https://ift.tt/3givNZq
New post on Flutter Dev Google group:

New flutter package
Hey guys, I made this package for flutter. After the launch of flutter web on beta I wanted serve my app on web so everyone can review it easily. So my quest begins when i started to find packages for the same task and I couldn't so I thought why not make it myself, so here is my package named

May 24, 2020 at 12:13AM by Darshan Rander
https://ift.tt/2WXukAf
New post on Flutter Dev Google group:

How to use SharedPrefrences package
i want to use SharedPreferences , i have created theses two functions set and get and calling it on void inistate,,,,when i change the value of key,,it's not reflecting on first restart,,,like if i change that 12345 to something else and restart. it show the old value,on second restart it change

May 24, 2020 at 12:33AM by Attaullah Khan
https://ift.tt/3gjgIH6