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

FlutterHub is a mobile application that allows developers to showcase their Flutter projects and hiring personnel to search for qualified, experienced Flutter developers.
https://github.com/felangel/flutter_hub

June 02, 2019 at 11:26PM by EngineerScientist
https://www.reddit.com/r/FlutterDev/comments/bw2if4/flutterhub_is_a_mobile_application_that_allows/?utm_source=ifttt
New post on /r/flutterdev subreddit:

Requesting data in ChangeNotifierProvider builder?
So, I have a RootPage that decides on whether to build the HomePage or the WelcomePage based on if the user is logged in. To do this, I need to make an async request on the model. The model will fetch the current user from firebase, then update the model state accordingly. My question: is making the request like this (in the builder) an anti-pattern? Is there a better way? Thanks!The page:
class RootPage extends StatelessWidget { Widget getWidget(RootState state) { switch (state) { case RootState.LoggedIn: { return HomePage(); } case RootState.NotLoggedIn: { return WelcomePage(); } default: { return Scaffold( body: Container( alignment: Alignment.center, child: CircularProgressIndicator(), ), ); } } } @override Widget build(BuildContext context) { return ChangeNotifierProvider<RootModel>( builder: (context) { RootModel model = RootModel(RootState.Init); model.fetchCurrentUser(); return model; }, child: Consumer<RootModel>( builder: (context, model, child) => getWidget(model.state))); } } 
And the model:
class RootModel extends BaseModel<RootState> { final _authService = AuthService(); RootModel(RootState initialState) : super(initialState); void fetchCurrentUser() async { setState(RootState.Loading); FirebaseUser user = await _authService .current() .catchError((e) { print("login failed: " + e.message); }); if (user == null) { setState(RootState.NotLoggedIn); } else { setState(RootState.LoggedIn); } } } 


June 03, 2019 at 12:06AM by edgypostcards
http://bit.ly/2wuksjl
New post on Flutter Dev Google group:

Guide to read flutter documentation
Hi Everyone, I'm new to flutter. I started with python. I have a hard time understanding flutter documentation. How should I interpret flutter's documentation. Any simple guides available ???

June 03, 2019 at 04:43AM by Aswath Muralidharan
http://bit.ly/312YSAv
New post on /r/flutterdev subreddit:

Open Source question
Hey guys, I want to ask a simple question of audience and the "normal" thing to do.I am creating a e2ee chat app with other features(not e2ee). I started from normal chat app and evolved to adding encryption. I looked into Signal e2ee protocols and have successfully implemented them(not the most robust!!). Reading some thesis papers and signals website/articles as well as looking into WhatsApp's white paper. I have finally managed to get a handshake protocol and double ratchet working(again not really good robust solution).I am originally planning to release my app as closed source as I want to take this into as a personal business. But every time I look at discussions of other apps, most brought up topic is usually along the lines of "not open source, not trustworthy".to the point: Can i release my app as closed source but still give access to its e2ee implementation I have included? Perhaps even a tutorial on my apps website as well as a youtube video(could be and will be long). Would that be enough to garner trust as I am a new developer and honestly no one knows me. Im a nobody.The packages I am using(I made 2 and one of them I posted already to the pub), will also be open sourced as well(All i honestly did was translate it from their respective native packages into dart to use in flutter)

June 03, 2019 at 05:13AM by Bk_ADV
http://bit.ly/2WkJCQO
New post on /r/flutterdev subreddit:

Beginners Form Validation in Flutter with Easy Email Validation
http://bit.ly/2WkL2e6

June 03, 2019 at 05:01AM by Filledstacks
http://bit.ly/2IdaisS
New post on /r/flutterdev subreddit:

I started to do Flutter video tutorials
I started to do Flutter video tutorials, planed for some big apps,https://youtu.be/OH28WUrb5lYConsider Subscribe & Share if you liked my videos, thanks!

June 03, 2019 at 06:59AM by WorldWithGreen
http://bit.ly/2JPPgnr
New post on /r/flutterdev subreddit:

Super Simple Authentication Flow with Flutter & Firebase
http://bit.ly/2JTetNO

June 03, 2019 at 10:41AM by EngineerScientist
http://bit.ly/2QL2gva
New post on Flutter Dev Google group:

Mouse Pointer for Flutter Web buttons (or links)
Hi, I started experimenting with a Flutter web project and it looks fine so far except for the mouse pointer. I would love to see a parameter on certain widgets like buttons (mousepointer: true) that will cause the mouse pointer to change to a hand when hovering over that widget. another

June 03, 2019 at 10:46AM by Willie Nandi
http://bit.ly/2QHqHtb
New post on /r/flutterdev subreddit:

Flutter Boilerplate Project
A boilerplate project created in flutter using MobX and Provider. If you liked my work, don’t forget to star the repo to show your support.https://github.com/zubairehman/flutter-boilerplate-project

June 03, 2019 at 11:27AM by zubairehman
http://bit.ly/2YXWxou
New post on /r/flutterdev subreddit:

Windows Flutter development enviroment
Hello all,​The time has come for me to start looking for my Macbook Pro upgrade. As latest Macbook are quite Sh**, I am also looking for option to buy Asus Zenbook pro with Windows 10.​Now I would like to know from your experiences, the ones who are developing on Windows. Are there are specific cons? I know for a fact that developing for iOS is pain - does Codemagic work here? Is there any way to build for my iPhone directly from Windows?Does running app in Android simulator with iOS platform setting behave same as if I would have iOS simulator?​Thanks!

June 03, 2019 at 11:23AM by xfrozenspiritx
http://bit.ly/2wzmhLL
New post on Flutter Dev Google group:

flutter error
hi everyone i'm new in flutter yesterday flutter works well but today i found error in while flutter doctor .the error is - X Android license status unknown. Try re-installing or updating your Android SDK Manager. See http://bit.ly/2EY1JTq or visit

June 03, 2019 at 11:47AM by santosh adhikari
http://bit.ly/2JRija1
New post on Flutter Dev Google group:

It would be helpful if there was an option to include androidx.* artifacts
If any one from flutter team is seeing this I have one suggestion for integrating a new feature in flutter that is to provide a option for user that whether he wishes to include androidx.* artefacts(Jetbrains) in his project while creating a new project.

June 03, 2019 at 01:28PM by Akshay A S
http://bit.ly/2Z8qJ0r
New tweet from FlutterDev:

Illustration and tech collided this year at #io19! Check out @lariki’s colorful spin on Flutter and Dart talks 🎨

See them here &darr; https://t.co/TGn6wHeqVn— Flutter (@FlutterDev) June 3, 2019

June 03, 2019 at 06:00PM
http://twitter.com/FlutterDev/status/1135576878918619136
New post on /r/flutterdev subreddit:

Flutter at Google I/O 2019 sketched
http://bit.ly/2JTTx9m

June 03, 2019 at 06:17PM by EngineerScientist
http://bit.ly/2Z2uRPl
New post on /r/flutterdev subreddit:

How do you see Swift UI impacting the future of flutter?
Hello all, new to flutter development and just watched the Apple keynote. I was wondering what everyone thought about the announcement of Swift UI and how you think it may impact the future of flutter. Open forum, I just want to get thoughts on the matter. Thanks!

June 03, 2019 at 09:27PM by 10ndavis
http://bit.ly/2Mn737k