Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

How to focus the screen in a specific point?
Hi everyone, I am using CustomPaint widget to draw a polygon but the points are out of the screen. I would like to know how i can focus the screen in one of the polygon's points

March 02, 2019 at 03:52PM by Santiago Taco
https://ift.tt/2BYkaEs
New post on Flutter Dev Google group:

Flutter Create developers contest and exclusion in Brazil
Hello there, This note is related to the Flutter contest [1] but not related to development. I am posting here because this was the only channel for contact that I could see in the contest page. I appreciate if you can put me in contact with the right group or google manager responsible for the

March 02, 2019 at 05:26PM by Marcio Galli
https://ift.tt/2NH4OJi
New post on /r/flutterdev subreddit:

Managing state with rxdart
Disclaimer: I am a beginner, deceloping my first app.I read about using Bloc pattern abd providers and implemented that in my solution, what I am not sure about is where can I save the state.So user opens the app, bloc is created and stream is kicked off with the seeded value. User adds some filters I send them to bloc the data is presented. Now user switches to another tab, comes back now build method is run again as the stream has nothing new it keep on loading. Question is how to store the state about the filters so that when user comes back I can just add the filter to the sink again. Planning to manage the caching in the bloc e.g. if same filter wouldn't want to make a http call again

March 02, 2019 at 05:23PM by ahasnaini
https://ift.tt/2EGKZii
New post on /r/flutterdev subreddit:

Career in IT after flutter
I’ve never done any coding and am not in the IT industry. But recently I began learning to use flutter/dart to create an app I need for my business.Once I learn how to create apps using this platform is there anything else specifically that I can learn and pair with this knowledge to have an opportunity at an IT job down the road?I’m not saying that after learning flutter and making one app that I would be qualified but I assume after learning it and other possible programs and after becoming proficient in coding i could possibly be qualified at certain jobs.Currently, I own a small business and am not looking to switch careers but I figured if I become good at this would I have a shot?

March 02, 2019 at 07:10PM by freshbalk2
https://ift.tt/2ToSiTT
New post on /r/flutterdev subreddit:

flutter firebase Analytics issue
hi, i added firebase Analytics to my app, in firebase console i dont see data in dashborad .​firebase Crashlytics works fine i am able to see data, but Analytics and performance i dont see it even i implemented it correctly.

March 02, 2019 at 07:40PM by Kotaibaw
https://ift.tt/2EJywdL
New post on /r/flutterdev subreddit:

Understanding Flutters Future and async/await
A bit of an amateur QuestionI'm currently using an asynchronous method to read from a JSON document, and this is being done in a none asynchronous function (it's a limitation)Problem is, I want synchronous behaviour, for the function to wait until the asynchronous method has read and passed the data before returning.Searching online, this doesn't seem to be possible in flutter, the only option I've found is a widget called FutureBuilder (and sadly, I can't use widgets in this scope of the project), it's starting to seem like my only option is to find a different way to read my JSON data, one that's synchronous but before I head down this path, I wanted to be sureIs it really not possible to make a Future behave synchronously? To use an asynchronous function in a synchronous manner?Also, if this isn't the right place to post these kind of questions, let me know! 😅

March 03, 2019 at 08:03AM by ChaseMayne
https://ift.tt/2C2OpKn
New post on /r/flutterdev subreddit:

FlutterForce — Week 16
https://ift.tt/2tMuXgp

March 03, 2019 at 09:09AM by flutterist
https://ift.tt/2H9eMBE
New post on /r/flutterdev subreddit:

Content Managing System for Flutter app? Flutter for Desktop or Angular Dart?
I need to build some kind of Back Office/End / Content Managing System for my client, so he can add content to the flutter app. I'm using firebase as a backend. I not completely sure if I should build a web app or a desktop app for this case (I think a Desktop app is more secure and simpler?) but I want to use dart so I can share some code with the app. So as far as I know I have two options for this: AngularDart and the desktop embedding for flutter.Have you experience with one of these tool? What would you choose?

March 03, 2019 at 12:05PM by jwknows
https://ift.tt/2XsSalo
New post on /r/flutterdev subreddit:

Trying to make a STRING picker in Flutter
Hello! Thanks for reading in advance.I'm desperately trying to make something which you might call a string picker with Flutter. It's like a listview with faded top and bottom. The user will scroll and select an option. How can I implement this?I already tried ShaderMask with a linear gradient to achieve this. But can't seem to get it work. :( Now, there's already a library called Picker, which is pretty neat. But as I saw in the demo, I think it only works as bottom sheet dialogs.

March 03, 2019 at 03:24PM by _nightwielder_
https://ift.tt/2NGjMiv
New post on /r/flutterdev subreddit:

How to access Stateful widget variable inside State Class?
I am trying to access the 'someDate' variable declared in the code in the _FoobarWidgetState. I found online that you can do it using the 'widget' keyword as shown in the Text widget below. But the problem is that I am trying to access the variable outside the build method in order to give the TextEditingController a default value. How can I achieve this? Thanks in advance :)
import 'dart:core'; 
import 'package:flutter/material.dart';class FoobarWidget extends StatefulWidget { final String someDate; FoobarWidget(this.someDate);@override _FoobarWidgetState createState() => new _FoobarWidgetState(); }class _FoobarWidgetState extends State<FoobarWidget> {
TextEditingController _titleController = new TextEditingController(); 
@override Widget build(BuildContext context) { return new Container(       child: new Column(children: <Widget>[ new Text("some date is ${widget.someDate}"), ]), ); } }​

March 03, 2019 at 04:41PM by nerdThatYouLike
https://ift.tt/2IQADjT
New post on /r/flutterdev subreddit:

#2 Flutter + Dart Tips
I just published #2 Flutter + Dart Tipshttps://link.medium.com/lDPVQ0E9KUIf you have good tips then do share and make a PR in the repository. Link is in a Article.

March 03, 2019 at 05:23PM by ibhavikmakwana
https://ift.tt/2tPsqlA
New post on Flutter Dev Google group:

Failed to test https://ift.tt/2EINqRr
Can anyone tell me how I can fix this? Running Gradle task 'assembleDebug'... e: C:\FlutterSDK\flutter_windows_v0.5.1-beta\flutter\.pub-cache\hosted\ pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null

March 03, 2019 at 06:15PM by Chris
https://ift.tt/2VxXeTI
New post on /r/flutterdev subreddit:

How to handle internet connectivity with Firestore backend?
Hi Everyone!I am develop chat app in Flutter with Firebase (Firestore) backend.I have develop all functionality now (auth, send message). This all work good when connect to internet but I realise I am not handle bad/no connectivity in 2 way:UI: I am not display to user if have connectivity issue.Backend: I am not handle situation where no connectivity. For example I am just call method without check connection:firestore.add({‘Message’: message,});So I need handle connectivity for both way.For week I search but cannot find good solution. There is no good guide or example.​So I want ask community: How you handle the 2 issue I have? For UI are you use loading indicator or show connectivity status banner? For backend how are you make you connectivity check available across all app widgets?​Probably must use connectivity 0.4.2 package. I see tutorial how to use but I cannot find scalable/production use example in real app.I am use scoped_model so want find way use this for notify descendant widgets when connection state change. Hope can avoid wrap all call to Firestore in connectivity subscription!Anyone have advice/experience?Thanks!

March 03, 2019 at 06:19PM by Flutter_Dev
https://ift.tt/2tKnNcJ
New post on /r/flutterdev subreddit:

Another BloC example (starter template)
https://ift.tt/2ErW4SV

March 03, 2019 at 08:19PM by n1x0nj4
https://ift.tt/2TcB6BK
New post on Flutter Dev Google group:

How can setState() be called in a Stateless Widget?
Hello, I am following this online course where we just separated the RaisedButton from the Stateful Widget to a Stateless Widget created in the State object. I don't understand how setState() is called in a StatelessWidget... When we create the element ProductControl we pass the function

March 04, 2019 at 05:09AM by Kamil Geagea
https://ift.tt/2TbWhDY
New post on /r/flutterdev subreddit:

Flutter bloc library
Hi friends, Have you try flutter bloc library? Could you please share your review on this? Can I use this for enterprise level project?https://github.com/felangel/bloc/blob/master/README.md

March 04, 2019 at 06:34AM by vaibhav_2018
https://ift.tt/2EK4rKM