Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
Reddit: Slim PHP and Flutter
Is there any tutorials or articles about using API on PHP and Flutter? For basic authentication and querying on the database.

Submitted October 17, 2018 at 11:41PM by cassaregh
via reddit https://ift.tt/2Cn0dYY
Reddit: Beginner's Question on StreamBuilder
Hi,I'm currently going through a course on Dart / Flutter and I came across the lecture on the StreamBuilder class. The code is below:
Widget emailField(){ return StreamBuilder( stream: bloc.emailStream, builder: (BuildContext context, snapshot) { return TextField( keyboardType: TextInputType.emailAddress, decoration: InputDecoration( hintText: 'you@example.com', labelText: 'E-mail address', errorText: snapshot.error ), onChanged: (newValue){ bloc.updateEmail(newValue); }, ); }, ); } 
everything here works fine. It compiles, I am able to run it and it behaves exactly as the author said it would. i.e., when I type something, the error message shows up until the string passes the validation for an email address string.He said that when the stream changes, the "builder" field gets called and thus the TextField Widget gets rebuilt. But if that is the case, shouldn't the TextField display a blank string when rebuilt? But what happens instead is it retains it's value.What exactly is happening here? Thanks for helping a newbie out!

Submitted October 18, 2018 at 05:58AM by syf3r
via reddit https://ift.tt/2Cp12jU
Reddit: Flutter's fatal flaws
I loved learning flutter, it was the cool kid on the block. But like all frameworks, after the honeymoon, the pain points start to emerge. In my opinion, Flutter has two that really makes it unusable:1) Separate equivalent components for Material and Cupertino themes, with no elegant way to switch between them depending on platform. Instead they should have had a way to just style the controls for each platform. As an aside, the whole theming mechanism is a mess overall.2) No built in data binding. This is an essential feature for all modern frameworks. It's so bad in Flutter that they had to invent an entirely new "pattern", the BLoC pattern, to pull it off. The problem is you are writing the code, rather than the frameworks handling this, so it gets messy. I love reactive extensions, I don't love wrapping all my visible widgets with wonky code to trigger a rerender (i.e. StreamBuilder).Thoughts? Counterpoints?

Submitted October 18, 2018 at 12:16PM by CodyLeet
via reddit https://ift.tt/2NKGuod
Reddit: FREE CI/CD for Flutter projects for a year👊
We need your help to make CI/CD for Flutter bullet-proof. Build & test your Flutter apps, give feedback and get FREE CI/CD for Flutter projects for a year.**No catch included. We seriously need your feedback: ) https://nevercode.io/blog/continuous-integration-and-delivery-ci-cd-for-flutter-apps-with-nevercode/

Submitted October 18, 2018 at 02:19PM by Gigatronbot
via reddit https://ift.tt/2R18TIJ
GGroup: Flutter device ratio, How?
Hi, I have a small code from my app as shown below, I use MediaQuery.*of*(context) to get device height and width. Problem is In Samsun S7 Edge looks perfect but when I try to use it on Samsung Note 8 everything fail. font size as well as as the padding top fails. How to calculate device

Submitted October 18, 2018 at 03:07PM by Niyazi Toros
via Flutter Dev https://ift.tt/2J8gjqQ
GGroup: Multiselect dropdown
Hi everyone. I'm looking to migrate step by step my cordova project to flutter. I have to find the equivalent of every type of inputs in html/angular. I have a trouble with the equivalent of *AngularJs UI-Select*. What is the equivalent input displaying like this: [image: 2018-10-18_161630.png]

Submitted October 18, 2018 at 03:16PM by Rija
via Flutter Dev https://ift.tt/2OxScb0
#FlutterLive registration opens Tuesday Oct. 23rd, 18:00 GMT+1 (10:00 AM PDT)!

This will be your chance to request an invite, but seating is limited. Please also register for one of our global viewing parties or tune in from home. The entire event will be livestreamed! pic.twitter.com/mP8Vvvmptv— Flutter (@flutterio) October 18, 2018

October 18, 2018 at 06:55PM
via Twitter https://twitter.com/flutterio
Reddit: Flutter + DynamoDB
Does anybody have any experience with this or resources?

Submitted October 18, 2018 at 08:47PM by pegasi320
via reddit https://ift.tt/2RXTPg9
GGroup: how to integration test an app with Firebase and Google Sign-in?
I'm creating an app that uses Google Sign-in to authenticate with Firebase. I want to create integration tests for my app using FlutterDriver.... Seems like I'll need: 1) create a test Google account I don't mind sharing the credentials for 2) make the flutter driver tests navigate through the

Submitted October 19, 2018 at 02:13AM by steve christensen
via Flutter Dev https://ift.tt/2NOgQyA
GGroup: how to integration test an app with Firebase and Google Sign-in?
I'm creating an app that uses Google Sign-in to authenticate with Firebase. I want to create integration tests for my app using FlutterDriver.... Seems like I'll need: 1) create a test Google account I don't mind sharing the credentials for 2) make the flutter driver tests navigate through the

Submitted October 19, 2018 at 02:13AM by steve christensen
via Flutter Dev https://ift.tt/2NOgQyA
Reddit: Help with Google APIs
I've spent the better part of a day trying to figure out how to interact with Google APIs in a Flutter app, particularly with authentication. I'm trying to make my app integrate with Google Calendar to view and manipulate the user's Google Calendar. I'm using the googleapis package, but the documentation is lacking. Most of the examples are for other Google services and for service accounts, but I want access to the user's account.I'm very new to Dart and Flutter, but I've done this in Python and in Apps Script without much difficulty, but the documentation for that was much more complete.Anyway, I'd really appreciate it if someone could give me an example of how to do this, or at least point me in the right direction.Thanks.

Submitted October 19, 2018 at 04:10AM by dude8604
via reddit https://ift.tt/2AjchZR
GGroup: How to smallen a texteditor
Hey guys can anyone help me with the code on how to smallen texfield in flutter just like the one in the image below..thank u

Submitted October 19, 2018 at 09:27AM by ibrahim shehu ibrahim
via Flutter Dev https://ift.tt/2yWtXbZ
Reddit: Possible to list licenses names in my app?
Any way to list only licenses names in my app, I am not sure if one lib who use another Android lib got in LicenseCollector.

Submitted October 19, 2018 at 11:09AM by SunnyAX3
via reddit https://ift.tt/2PJhbEz
GGroup: How to set timeout for await http.get?
Most cases the await http.get is very fast. But when I am against all socket type services sometimes I get the data in 15sec. So my question is how to set timeout value for await http.get? Once I get the data I need to cancel the timeout and close the socket. here is my code? var _response =

Submitted October 19, 2018 at 12:13PM by Niyazi Toros
via Flutter Dev https://ift.tt/2S1ZD8v
Reddit: Slivers, Demystified – or how to do fancy scrolling.
https://ift.tt/2EwUJO4

Submitted October 19, 2018 at 02:03PM by barraymian
via reddit https://ift.tt/2R4wp7F