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

Does mixing dev platforms (Windows & Mac) for the same flutter project work?
We're looking at development of a flutter app where the dev environments will be mixed.Some development will take place on VSCode in Windows and pushed up and the same git will be opened with VSCode on a Mac. Has anybody tried this? Does it work without any issues?

June 02, 2019 at 07:50PM by iamaconsumer
http://bit.ly/2Wk3xzh
New post on /r/flutterdev subreddit:

How to know which firebase plugin versions to install?
I've been stuck for a few days with gradle not building (working on iOS fine). For 2 days I struggled because gradle was giving a generic error, finally got this today:​
FAILURE: Build failed with an exception. * What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check. > In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[18.0. 0]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown. Dependency failing: com.google.firebase:firebase-messaging:18.0.0 -> com.google.firebase:firebase-iid@[18.0.0], but fire base-iid version was 17.1.2. The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art ifact with the issue. -- Project 'app' depends on project 'firebase_messaging' which depends onto com.google.firebase:firebase-messaging@18.0. 0 -- Project 'app' depends on project 'firebase_core' which depends onto com.google.firebase:firebase-core@16.0.9 -- Project 'app' depends on project 'firebase_analytics' which depends onto com.google.firebase:firebase-analytics@16.5. 0 -- Project 'app' depends on project 'firebase_remote_config' which depends onto com.google.firebase:firebase-config@16.4 .1 -- Project 'app' depends onto com.google.firebase:firebase-core@16.0.9 For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https:// github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b uild.gradle file. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org 
​This was after I took out the version numbers from my pubspec to see if that would help lol (desperate times and all that...). I don't understand Google's version numbering and I'm not sure which versions of plugins I should be installing as it has caused conflicts in the past?​
dependencies: 
flutter: sdk: flutter http: cached_network_image: flutter_cache_manager: carousel_pro: cloud_firestore: firebase_core: firebase_remote_config: dynamic_theme: flutter_signin_button: shared_preferences: share: flutter_search_bar: google_sign_in: #flutter_facebook_login: flutter_html: requests: webview_flutter: flutter_webview_plugin: firebase_analytics: flutter_app_badger: #for launcher badge icon (notifications) uuid: font_awesome_flutter: device_info: carousel_slider: flutter_spinkit: flutter_typeahead: firebase_messaging: html_unescape: flutter_masked_text: configurable_expansion_tile: stripe_payment: square_in_app_payments:

June 02, 2019 at 09:39PM by ac_version_01
https://www.reddit.com/r/FlutterDev/comments/bw1bdk/how_to_know_which_firebase_plugin_versions_to/?utm_source=ifttt
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