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

Dark mode: this is why I love Flutter
http://bit.ly/2BFu25T

February 17, 2019 at 09:36AM by mulderpf
http://bit.ly/2TSCO7J
New post on /r/flutterdev subreddit:

InheritedModel implementation
Hello!I am looking for good example of InheritedModel, I have read a lot of tutorials about InheritedWidget, but InheritedModel is a bit more complex, here is a short wideo about it. Here is a scenario that I want to imlement with this class:Implementation caseThe secions are:Like counter -> stateless widget, reads state and renders how many time button 4) are clickedCard carousel -> stateless widget, sets the actuall snapped card stateContent text -> statefull widget, reads the actuall snapped card and fetch details about this cardFab -> widget that belongs to 3) section, increment 1) Like counterSo to be more coherent, there is a 2 "global" states:I) SNAPII) LIKESAnd there is a section to state relations:read LIKES stateset SNAP stateread SNAP stateset LIKES stateMy implementation snippets:browser_snap -> includes logic for InheritedModel and section creations, it's root widgetbrowser_counter -> includes section 1)browser_carousel -> includes section 2)browser_content -> includes section 3) and 4)As far as I know, this works pretty well, but there is a little redundancy in file browser_snap, becouse I hold state in 2 places: BrowserSnap that is StateFull widget and BrowserInherited that is InheritedModel. Is there any way to hold state only in InheritedModel? What do you think about my implementation? There is my first step info flutter development (actually I am working as Android developer) and I want to code it in "raw" style, without any architectural pattern like redux etc.​

February 17, 2019 at 10:46AM by gonez_imba
http://bit.ly/2GM0SWa
New post on /r/flutterdev subreddit:

FlutterForce — #Week 14
http://bit.ly/2Ig9czL

February 17, 2019 at 10:25AM by flutterist
http://bit.ly/2GvJbKV
New post on /r/flutterdev subreddit:

Flutter scrolling performance - FPS
Hey there,I am doing Swift development for almost 2 years now and recently I came across Flutter. I have an App that I would love to try and rewrite in Flutter to make it available for Android aswell. But my problem is that all the apps that I tried (Hamilton for one example) and what I tried to build using different courses are somewhat struggling in simple scrolling.Using ListViee builder and adding some items and trying to scroll I can very clearly see that I am not having that pure 60fps experience like with Swift. Might be 50 or so, but after certain time or scrolling it seems to reach 60..What could be the problem? Is that normal? I have been googling and lots of same reports...ThanksEDIT: iPhone XS

February 17, 2019 at 05:50PM by xfrozenspiritx
http://bit.ly/2EeuWI5
New post on /r/flutterdev subreddit:

If I'm using firestore to store data, do I still need sqflite to store data locally?
Or can I just rely exclusively on using firestore to push and pull data

February 17, 2019 at 07:43PM by Maghihintay
http://bit.ly/2GQ0Lsv
New post on /r/flutterdev subreddit:

CameraMove event
Is there a way I can listen to Camera and get the new Camera info?

February 17, 2019 at 08:40PM by sirking1991
http://bit.ly/2SZburc
New post on Flutter Dev Google group:

Linter rule for parameter types?
Playing around with Flutter's (or Dart's) linter, I can't find a rule to enforce typed function/method/constructor parameters. Is there one? I can use `always_declare_return_types` to enforce return types, but it seems, I cannot enforce parameter types. I'd like to get rid of accidentally

February 17, 2019 at 10:28PM by Stefan Matthias Aust
http://bit.ly/2S62Mml
New post on /r/flutterdev subreddit:

What would be a great State Manager Example?
Managing state is hard, that is why there are things like BLoC, Redux and ScopedModel, I even wrote ReduRx myself, but using it in real-life, in a real project, I found myself on several flaws and problems because it was an attempt to bring which was cool in React to Flutter, but Dart is a very powerful language with solid OO roots and Flutter is a framework in the same footprint as concrete idealizations about state and how to update it.​So today I'm writing the package observable_state, another package to manage the state in Flutter! But I do not want to fall into the same problem as ReduRx, so before I go out there, I want to know about you from the Flutter community:​Which example would be cool to apply? The basic Counter is already there as a test of the library, but now I want ideas from real life examples! Integration with Firebase? Login with social networks? A REST API on the back-end? GraphQL?What examples would you like to see in order to demonstrate all the power of a state manager?​https://github.com/leocavalcante/observable_state

February 17, 2019 at 11:12PM by leocavalcantee
http://bit.ly/2trrfsn
New post on /r/flutterdev subreddit:

[Flutter App Dev] - Read a barcode! - Starting to share some interesting use case tutorials for Flutter using Firebase's ML Kit on my blog.
http://bit.ly/2GLtMpj

February 17, 2019 at 10:45PM by Gamzie1
http://bit.ly/2Nd7xcS
New post on /r/flutterdev subreddit:

Flutter Firestore Social Media Apps how do you Admin?
For those of who who may have built apps with Flutter & Firestore may I ask how do you admin your apps?I'm interested in those who have social media apps with user generated content.Are you creating admin functions within the app or creating a web admin?I'm not a pro developer but creating for my own projects. I haven't seen any topics on what might be best practice for an app created in Flutter for management of users, or content.

February 18, 2019 at 05:39AM by replayjpn
http://bit.ly/2GwM26l
New post on /r/flutterdev subreddit:

Building a Location Based AR Application using Flutter
Is this even possible? I am trying to build a phone application where a user can use their camera to display points of interest in real time. For example, a user is on top of a mountain and the screen displays a small text box of the names of other peaks in the distance via the camera using locations from an open source map API.I understand they already have applications like this but this is more for a personal project. I was recommended to use Flutter for building phone apps but I have been having a hard time finding information on the internet for this specific idea.My apologies if this question may seem a little nonsensical. I am new with Flutter/never made a phone app before and just trying to find out more information. If anyone has any prior knowledge to where to get started or point me in the right direction that would be greatly appreciated.

February 18, 2019 at 03:10AM by Hot_Chicken909
http://bit.ly/2TYhxtq
New post on /r/flutterdev subreddit:

Private property is accessible like public.
As the title literally said, please forgive me if I am being ignorant.I am expecting the leading underscore will make a property not accessible outside of the class, but I tested on both the dartpad and Android Studio, the private property can be read and changed outside of the class. May I ask how to make a property actually private? I have not tested the leading underscore on class name, I am not sure if that will make a class not accessible outside of the file as I understood from the documentation.I tried like:class Test{ String _v = '123'; }main() { var test = Test(); print(test._v); test._v = '456'; print(test._v); }

February 18, 2019 at 02:19AM by parkjunghwan
http://bit.ly/2GPNGiL
New post on Flutter Dev Google group:

Flutter app push notification with PHP server
Good day, I am a beginner to this app development environment, i am trying out flutter which surprisingly easy to learn, i never see any "Push Notification" using a php server, everyone is using firebase in their examples. Push notification for flutter app cannot be done in php server? if its

February 18, 2019 at 07:02AM by thyagara...@gmail.com
http://bit.ly/2SGUl6c
New post on Flutter Dev Google group:

NoSuchMethodError: The method 'map' was called on null
Hi , I am getting response but unable to parse to list. Can you please give an example to parse into list with nested arrays in json. This is my code. if(res.statusCode == 200){ print(mediaResponse); if(mediaResponse.status == 1){ final imageModel = json.decode(res.body); print('iamgemod

February 18, 2019 at 07:11AM by Mounika Sivanaga
http://bit.ly/2NdiuLQ
New post on Flutter Dev Google group:

[Flutter App Dev] – Learn to Read a Barcode (Firebase ML Kit + Camera Plugin)
Hi All I've recently started to write a series of Flutter tutorials and tips on my blog. So far I've created 3 posts over the past week or so, the latest being a tutorial on how to read a barcode using Firebase's ML Kit and the Flutter "Camera" plugin. You can view this post and others here:

February 18, 2019 at 10:39AM by Nicholas Cullen
https://groups.google.com/d/msg/flutter-dev/rK6W6XHHfbY/sG7H46p6AwAJ
New post on Flutter Dev Google group:

Good morning flutters
Help me please if you know how to make Firbase in App messaging using flutter

February 18, 2019 at 10:51AM by Eng Abdikani
https://groups.google.com/d/msg/flutter-dev/a5sX8ElaNF0/xLDUTFZ7AwAJ