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

log in with shared preferences and can't save user setting
I am using sharedPreferences to save user setting and I want to not appear logIn screen after user log in , but hte problem is that log in screen even after the log in .. how can i solve this problem I attached the files .. please need help

October 21, 2019 at 12:06AM by Suna Arun
https://ift.tt/31zB71Q
New post on Flutter Dev Google group:

Populating a SplayTreeMap from SQLite table
I have a simple SQLite table that I need to cache in memory using a SplayTreeMap. To populate a list, I have this utility method which works well: static Future
New post on /r/flutterdev subreddit:

Drawing Density Charts in Flutter
https://ift.tt/2W8EjAJ

October 21, 2019 at 01:28AM by Elixane
https://ift.tt/32xiAVt
New post on /r/flutterdev subreddit:

Anyone tried the ​Draggable menu in a Honeycomb structure
Is anyone tried to make Flutter Draggable Honeycomb structure?Basically each hexagons are draggable with in the Honeycomb structure.

October 21, 2019 at 02:31AM by sritharang
https://ift.tt/2MXb3bN
New post on /r/flutterdev subreddit:

xkcd_clock | A Flutter implementation of the xkcd clock.
https://ift.tt/2Ja88LE

October 21, 2019 at 09:18AM by EngineerScientist
https://ift.tt/2qweJd4
New post on /r/flutterdev subreddit:

Developing Flutter application in Gitpod and running it on real device
https://ift.tt/2P50XrX

October 21, 2019 at 12:06PM by estevez__
https://ift.tt/2MwAi5C
New post on /r/flutterdev subreddit:

Flutter Tap Newsletter - Week 9
https://ift.tt/33PpuFK

October 21, 2019 at 02:06PM by vensign
https://ift.tt/2qs8WVK
New post on /r/flutterdev subreddit:

Top 10 reasons for developing your e-commerce app on Flutter
https://ift.tt/2MSAIlK

October 21, 2019 at 02:01PM by citrusleafin
https://ift.tt/2BtoomG
New post on /r/flutterdev subreddit:

How to export ListView to PDF?
Hi Everyone!I have shopping list app with ListView of shopping list (for example egg water oil…). This is display on screen no problem.But I want allow user share this list. So I need export this as PDF/PNG/JPG. Screenshot not work because list can be longer than screen.How I can do this?Thank everyone!

October 21, 2019 at 12:58PM by Flutter_Dev
https://ift.tt/31yVZX8
New post on /r/flutterdev subreddit:

#19 CircleAvatar Flutter Widget
https://youtu.be/3mVrvshB40I

October 21, 2019 at 12:36PM by systechdevelopers
https://ift.tt/2MYnPGT
New post on /r/flutterdev subreddit:

Firebase Authentication and flutter test
Hi FlutterDevs!I am fairly new to Flutter. One of the first things I attempted was a basic login flow for a Firebase app using Google, Facebook and email authentication. It worked great (well, a few problems with flutter_facebook_login that the author fixed quickly).I like having 100% code coverage for tests. For a while, I resigned myself to using flutter drive. I went so far as to set up dedicated CI runners with emulators active for the driver to run on and it is very nice, but there is no code coverage reporting with flutter drive. I like to know when I make a change that is potentially untested. I also like my tests to complete quickly, and flutter drive on an emulator is not exactly speedy-turnaround on changes.There was a lull between sprints to take some time out to try to tackle the problem. There was one esoteric reference to platform channels on one comment on one bug report hiding some pages down on a lucky Google search about the problem. Mockito and other mocking approaches just did not provide the degree of coverage required, but hijacking the device platform channels seemed like the "correct" way to go about it.The product of that lull between sprints was a pretty generic authentication package that has the option to run in a "mocked" mode under the test VM. Tests can even force the mocked platform channels to throw specific exceptions so the tests can easily trigger failure cases to achieve total code coverage.It does cover Facebook login, Google Sign-in, email sign-in, registering a new account via email, requesting a password reset email, and most of the error cases involved with those. It uses the Provider pattern, but also plays nicely with a Singleton pattern via GetIt.Instead of being "just another simple authentication" package, the important part is that it includes mocks for the platform channels so that firebase_auth, flutter_facebook_auth and google_sign_in can run under flutter test without rapid, unexpected disassembly on launch.For those that may also have run into this testing wall using Firebase for authentication, this might come in handy, if only to see how the platform channel mocks work to make your app testable with Firebase authentication.It is available on pub.dev as authenticator.The source repo, also listed on pub.dev, is available at gitlab.com/playscale-free/authenticator.I will likely, eventually use this for production unless someone more clever than myself (a low bar, to be sure) comes along with something better, or if someone in this sub can point me to a better wheel already made than the one I put together.I hope others can find this helpful. The Flutter community has been extremely helpful and encouraging as I learn an entirely different language, tool-set and libraries.

October 21, 2019 at 03:00PM by equatorcoder
https://ift.tt/32B8qmz