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

I built my first Flutter app! If anyone feels like looking through the source code to suggest improvements or optimizations I would love to hear them!
http://bit.ly/2R8VPR6

January 24, 2019 at 07:26PM by FerretStereo
http://bit.ly/2Wfii2B
New post on /r/flutterdev subreddit:

<b>setState() or markNeedsBuild() called during build Flutter StreamBuilder</b>
Hi,I want to design login page, and login will be done via http post, get etc..For simplicity, and also to learn flutter easy way, I have created login page, when user enters email and password, I am just doing http get via this url "<a href="https://jsonplaceholder.typicode.com/posts/1">https://jsonplaceholder.typicode.com/posts/1</a>"&#8203;I have also followed this medium article: <a href="https://medium.com/flutterpub/architecting-your-flutter-project-bd04e144a8f1">https://medium.com/flutterpub/architecting-your-flutter-project-bd04e144a8f1</a>When users clicks the login button, I just want to show AlertDiaglog => "Succesfull" otherwise empty container. The problem is beginning when the user clicks the button, I have got an exception like this:<pre> I/flutter ( 5383): &#9552;&#9552;&#9569; EXCEPTION CAUGHT BY WIDGETS LIBRARY &#9566;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552;&#9552; I/flutter ( 5383): The following assertion was thrown building StreamBuilder<Person>(dirty, state: I/flutter ( 5383): _StreamBuilderBaseState<Person, AsyncSnapshot<Person>>#f7943): I/flutter ( 5383): setState() or markNeedsBuild() called during build. I/flutter ( 5383): This Overlay widget cannot be marked as needing to build because the framework is already in the I/flutter ( 5383): process of building widgets. A widget can be marked as needing to be built during the build phase I/flutter ( 5383): only if one of its ancestors is currently building. This exception is allowed because the framework I/flutter ( 5383): builds parent widgets before children, which means a dirty descendant will always be built. I/flutter ( 5383): Otherwise, the framework might not visit this widget during this build phase. Here is the login bloc code: ````dart import 'package:tez_flutter_app/src/model/person.dart'; import 'package:tez_flutter_app/src/repository/repository.dart'; import 'package:rxdart/rxdart.dart'; class LoginBlocTry{ final Repository _repository = Repository(); final PublishSubject<Person> _logInFetcher = PublishSubject<Person>(); Observable<Person> get getUserToken => _logInFetcher.stream; logIn() async{ Person person = await _repository.logIn(); _logInFetcher.sink.add(person); } dispose(){ _logInFetcher.close(); } } final bloc = LoginBlocTry(); </pre>Here is the ui (I will copy the build method of stateful widget)<pre>@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(Localization.of(context).getText(text: "title")), ), body: Container( child: Form( key: _formKey, child: buildContainerChild(context), ), ) ); } ListView buildContainerChild(BuildContext context) { return ListView( children: <Widget>[ buildLoginTextView(context), SizedBox(height: 60.0,), buildUserInputForm(Localization.of(context).getText(text: "enterMail"), Localization.of(context).getText(text: "email"), context), buildUserInputForm(Localization.of(context).getText(text: "password"), Localization.of(context).getText(text: "passwordHint"), context, showPasswordIcon: true), SizedBox(height: 20.0,), buildLogInButton(context), SizedBox(height: 20.0,), buildClickableTextView(context, text: Localization.of(context).getText(text: "createAccount")), SizedBox(height: 20.0,), buildClickableTextView(context, text: Localization.of(context).getText(text: "forgetPassword")), SizedBox(height: 20.0,), StreamBuilder( stream: bloc.getUserToken, builder:streamSample ) ], ); } Widget streamSample(context, AsyncSnapshot<Person> snapshot) { if (snapshot.hasData) { setState(() { showDialog( context:…
New post on Flutter Dev Google group:

How do I create a shopping cart with freebase in flutter
How do I create a shopping cart with freebase in flutter

January 24, 2019 at 10:44PM by daily...@gmail.com
http://bit.ly/2Dz7kxB
New post on /r/flutterdev subreddit:

open source my habit app
https://github.com/lzyy/habbit​it's a simple habit tracker powered by flutter with some plugins. can be downloaded via app store or google play for free.​not so complicated, maybe helpful for beginners. hope you like it :)

January 25, 2019 at 04:33AM by lzyy
http://bit.ly/2Mv25BU
New post on /r/flutterdev subreddit:

Hummingbird Open Source Date
Hi guys,Does anyone have any info on when or around what time Google plans to release its Hummingbird/Flutter Web Engine source code? I’m interested in trying out Flutter but would really like web support asap. Thanks for any help

January 25, 2019 at 04:30AM by whiploadchannel
http://bit.ly/2sN08b8
New post on /r/flutterdev subreddit:

Made some helpers for using CustomScrollView easier. Help cut down on boilerplate!
http://bit.ly/2BE3ot4

January 25, 2019 at 06:28AM by mbullington
http://bit.ly/2DyvMzm
New post on Flutter Dev Google group:

issues in admob with flutter.
when i use admob in flutter it working good. when i change test unit id to my real ad unitid i get error : I/FA (17587): Tag Manager is not found and thus will not be used W/flutter (17587): onAdFailedToLoad: 3 I/Ads (17587): Ad failed to load : 3 E/FA (17587): Missing google_app_i

January 25, 2019 at 07:17AM by Ravindrabhai Vala
http://bit.ly/2sINVnN
New post on Flutter Dev Google group:

Firebase Number Authentication
Firebase Authentication for phone i cant receive otp for other countries ? is there any firebase issue???

January 25, 2019 at 08:43AM by Bharathwaj
http://bit.ly/2FNRu4n
New post on Flutter Dev Google group:

Computer Networks - 4th Edition by Andrew S. Tanenbaum (solutions manual)
solutions book team s o l u t i o n s m a n u a l t e a m @ h o t m a i l . c o m solutionsmanualteam(at)hotmail(dot)com solutions...@hotmail.com We're a team for providing solution manuals to help students in their study. We sell the books in a soft copy, PDF format. We will find any book or

January 25, 2019 at 11:02AM by solutions manual team
http://bit.ly/2UmqRHl
New post on Flutter Dev Google group:

Computer-Controlled Systems 3rd edition by Karl J. Astrom (solutions manual)
solutions book team s o l u t i o n s m a n u a l t e a m @ h o t m a i l . c o m solutionsmanualteam(at)hotmail(dot)com solutions...@hotmail.com We're a team for providing solution manuals to help students in their study. We sell the books in a soft copy, PDF format. We will find any book or

January 25, 2019 at 11:15AM by solutions manual team
http://bit.ly/2FO0ExZ
New post on Flutter Dev Google group:

Contemporary Auditing 9th Edition by Michael C. Knapp (solutions manual)
solutions book team s o l u t i o n s m a n u a l t e a m @ h o t m a i l . c o m solutionsmanualteam(at)hotmail(dot)com solutions...@hotmail.com We're a team for providing solution manuals to help students in their study. We sell the books in a soft copy, PDF format. We will find any

January 25, 2019 at 12:08PM by solutions books
http://bit.ly/2RbMCHG