Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on /r/flutterdev subreddit:

Flutter app that displays a list of countries using the Countries GraphQL API
http://bit.ly/2w9sDBe

May 19, 2019 at 10:20AM by MeshackMusundi
http://bit.ly/2QdN1dD
New post on /r/flutterdev subreddit:

Scoped Model, StreamBuilder, RxDart ... Which is the latest?
Ok, I have been digging around Flutter for a bit over the past 2 days and looking to pass my state down the Widget tree. I've seen the Scoped Model, StreamBuilder and RxDart. From what I can figure, the first two implementations are from Google/Dart while the last one is a third party package.Coming from programming with Vue, where there is generally one mainstream way to do things, this is a bit confusing. :) Given that Flutter is rather new most articles are timestamped within the past year. and I only just jumped on it so I haven't been following the trend.I was reading up all I could find on Streams when I discovered ScopedModel and am leaning towards that.Which is your latest accepted or mainstream paradigm for passing state down the Widget tree? Thanks!

May 19, 2019 at 11:25AM by chi11ax
http://bit.ly/2W7OasT
New post on /r/flutterdev subreddit:

FlutterForce — Week 27
http://bit.ly/2VCSVWN

May 19, 2019 at 12:32PM by flutterist
http://bit.ly/30tkINb