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

compute() questions
I have a small data layer, which wraps backend apis requests/results and provides expected data (models) entirely from JSON results. Some of these JSON responses are big (~800KB), and I am trying to figure out using *compute()* since it's easier comparing of dealing with *Isolate * directly.

May 18, 2019 at 12:27AM by Dimitar G
http://bit.ly/2Jt8xL8
New post on Flutter Dev Google group:

Is there any official documentation regarding Flutter for embedded platform?
I was not able to find any official documentation regarding Flutter for embedded platform. So far I only found one web article and Github repositories. http://bit.ly/2QjePM7 http://bit.ly/2w4gYUx

May 18, 2019 at 10:14AM by Paul Liu
http://bit.ly/2QbiwVG
New post on /r/flutterdev subreddit:

How to show the menu of PopupMenuButton from the code.
PopupMenuButton opens a menu when user clicks on it. But how do I do open the same menu at the same place as the PopupMenuButton from the code(e.g. due to another user event)?​Edit: I am trying to create a nested menu in the AppBar. Like when user clicks on "Sort by" then menu changes to something else. Is there another way to achieve this? I could not find it on the internet.

May 18, 2019 at 02:35PM by dragneelfps
http://bit.ly/2VxLccw
New post on Flutter Dev Google group:

Global Variables when an App is closed
When the user leaves the app, i.e. minimizes it, What happens to the global variables? I've found sometimes they persist and sometimes they do not. When the user reopens the app is there a call to redraw the widgets? I've found a workaround to store global variables in shared_preferences, but

May 18, 2019 at 05:41PM by Daniel Young
http://bit.ly/2WfZP8O
New post on /r/flutterdev subreddit:

is there anyway to implement passport-local authentication in flutter app??
I've successfully implemented passport- JWT(json web token) authentication in my recent flutter app, i was wondering if there is a way to use passport-local ,I'm using Node + Express server

May 18, 2019 at 06:26PM by Pompidou23
http://bit.ly/2EhjWcK
New post on /r/flutterdev subreddit:

How to I write long paragraphs?
I’ve been using flutter for awhile and I’m starting to develop an app that will have a lot of text and information written in long paragraphs with various fonts and styles. The Text() widget doesn’t seem to allow me to style parts of my sentences, and the Text.rich() seems to do okay with text spans but it feels like there should be a better way to do this. HTML does a good job of this, but I’m wondering if I’m expecting too much from a new technology.

May 18, 2019 at 07:27PM by Moye16
http://bit.ly/2w75L5G
New post on /r/flutterdev subreddit:

questions about flutter jobs
helloI have good ideas and want to make it real with flutter (establish a new company) so have questions1- if I want to hire a professional in flutter (remotely - full-time) how much maximum and minimum salary that i should give per year?2- if anyone is interested plz pm me so I will give my email to send cv

May 18, 2019 at 07:52PM by adals
http://bit.ly/2JtCavY
New post on /r/flutterdev subreddit:

Self deleting firebase entries
Whats up guys!Say you want to add a special to my firebase database thats connected to my app that displays them... you want special to be from 22 May to 25 May, how will you program it to delete itself on 26 May? Would it be a cloud function or can I do it through flutter? How would you go from a date in firebase to a day (monday, tuesday and so on) on the app? And are there any software to allow users to add specials based on wheter they habe paid for the month? Thanks in advanced! :))

May 18, 2019 at 08:14PM by Brafaan
http://bit.ly/2HAUsrw
New post on /r/flutterdev subreddit:

Race conditions in Dart
Hi,
I am curious, can using variables in both an async function and in a regular (or another async) function lead to race condition or problems due to the fact that the variable is accessed by multiple threads?​In my case I am building an async function that needs to wait while a callback is still in a queue, so I have while loop that just loops infinitely while the callback is still in the queue.

May 19, 2019 at 01:34AM by BananyaDev
http://bit.ly/2JrbyM3
New post on Flutter Dev Google group:

Can't keep aspect ratio on items added to Row
Been struggling with this issue for days now, so really grateful for any help. I have created a custom widget, basically just a square image with border. I then have a Row in the top of my app where I want to add 3 or sometimes 5 of my square widgets. To support both cases, I just want to set

May 19, 2019 at 03:43AM by Mattias Månsson
http://bit.ly/2LSxLV4
New post on /r/flutterdev subreddit:

Websocket APIs and Flutter architecture
Hi,I have recently started developing my app in Flutter and I ran into a big problem in regards to state management.For my app I am using a web socket api (Socket IO) and the problem I have is that it forces me to use an architectural pattern that seems very ill fitted for Flutter.With Socket IO I have to register callbacks for global events that I can receive from the server, so for example the code for the event that signal a disconnect from the server needs to be global but in reality I might need to do different things depending on the page I am in in the app.Another issue is that emitting events to the server doesn't use the Future mechanism of Dart. Instead I need to provide a callback and also, if an error occurs when sending the message to the server, the handler for it will have to be global.I would love if I could simply use the Future mechanism for this but sadly I can't so I am curious to hear from other people that use or have used web sockets with Flutter in the past and how they handled this problem. There are a lot of simple options for now however I would like to avoid technical debt by making wrong choices early on.

May 19, 2019 at 03:26AM by BananyaDev
http://bit.ly/2VNgTDR
New post on /r/flutterdev subreddit:

Flutter — Effectively scale UI according to different screen sizes
http://bit.ly/2VNgUHV

May 19, 2019 at 03:05AM by EngineerScientist
http://bit.ly/2HzV6Wl
New post on /r/flutterdev subreddit:

How long did it take you to learn flutter?
And additionally, where do I start?

May 19, 2019 at 06:49AM by hotmailer
http://bit.ly/30tSj9Q