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

Curl error while running Flutter
I am getting a Curl (60) error while running flutter doctor, flutter --version, or flutter upgrade. I am on a Mac OS Catalina. I have attached the picture displaying the Curl error message. Does anyone know why this might be the case and the solution? Thanks.

October 12, 2020 at 09:42PM by SantoshSN
https://ift.tt/3nITP3p
New post on /r/flutterdev subreddit:

Working with video in Flutter
Does anyone know how to load entire playlists into your Flutter app from apps like YouTube or Vimeo? I am very new to this. Is there any sort of references such as documentation, blog posts, or YouTube videos on this?This is one thing I am stuck on. So I thank you if you help out and respond! :)

October 13, 2020 at 12:14AM by jazilzaim
https://ift.tt/3116nJH
New post on /r/flutterdev subreddit:

Looking for freelancers to help on open source project. $500 budget
I've recently created a project on Freelancer looking for help developing a swift plugin for an API providing sound capabilities to flutter developers. So far, nobody who's made an offer seems to have actually read the project description. If your looking to contribute to a useful open source API and wanna earn a bit of cash, it would be fantastic if you'd make an offer on the project.Take a look here: https://www.freelancer.com.au/projects/iphone/Fix-swift-plugin-for-flutter/proposalsLink to the git project: https://github.com/bsutton/soundsThanks in advance everyone!

October 13, 2020 at 01:40AM by relf108
https://ift.tt/3dj1Xmy
New post on /r/flutterdev subreddit:

Bloc pattern in complex scenarios
Hi,Im using flutter and the bloc package for like 4 months now. I think its a great package and design pattern.But also for me there is always this downside in complexity. I dont mean that its not understandable or so but more how something is handled.Its starts always super easy, no dependencies to other blocs, in the "worst case" everything global registered.Then you start to have like different lifecycles for your blocs and reused one bloc with some other services e.g saving things local and at the cloud.Did some one created an open source app that handled this usecase? For me it think im on the right way but its not very obvious like in the beginning.Imagine following scenario:You have list of multiple times IWorkitem with is implemented by notes, todos, drawings. This data is cached in the workitembloc.Now you can click on one of these types of items and view its data and exexute some actions like uodating the drawing or create a new one.Fine then each of the types gets a bloc for the specific details screen which are holding data, calling persist on its service and sends the saved workitem to the iworkitembloc to be shown in the list when you navigate back. But here the problem starts at little bit.You have to pass the bloc via constructor into other ones and with different runtimes it becomes more difficult, sure the one way around is working but not the other. The only thing is left is to compose it in the ui what is really bad. And you returning two states for different screens which Breaks transition animations a little bit, sure its fixable but its effort.I mean its ok, but it does not feel that great how it looked for my simple Apps with some blocs globaly.The thing i learned for sure is, create a bloc for each screen even if you think you dont need it and thats the biggest downside. Bloc feels not natural for one screen one view but maybe its just me, in general i like the package a lot.Thanks for listening to my Story. If someone have some open source projects in that direction it would be interesting to look atSummaryI think the biggest pain is to pass the bloc via constructor and to reprovide it for every route in scenarios where you reusing one bloc even more.It would be so nice if you could mark one path in a tree with a tag and provide blocs and repositories for this Tag. Im thinking little bot on Angular modules and the meta tag annotation you can set on your service where you want to Inject it and not the other way around.Sure there is no modules concept, thats why i made up this "Tag" idea, idk if this is possible even to implement.

October 13, 2020 at 01:19AM by KaiN_SC
https://ift.tt/34Qejyv
New post on /r/flutterdev subreddit:

Pagination with pull to refresh
Is there best pagination list and grid view source code that supports pull to refresh? Note: i tested many pub.dev plugins none of them was good for me

October 13, 2020 at 02:43AM by diyar_gulli
https://ift.tt/30ZCKbM
New post on /r/flutterdev subreddit:

Flutter + Firebase phone authentication best practices - No password?
Hi Everyone, should you ask the user to create a password and maintain it separate? or just rely 100% on firebase phone authentication for your apps, I appreciate your inputs.

October 13, 2020 at 03:48AM by ChuckQuantum
https://ift.tt/3iSfMcE
New post on Flutter Dev Google group:

[PatformView][Windows][gstreamer][video play] PlatformView samples for windows & how can I get HWND for widget
I recently try to write a video play example with gstreamer on windows desktop app, the two ways i tested: 1. native create render target and trans texture id from native to flutter likes android's version do, I try to create a render context with opengl texture and passing the opengl texture id

October 13, 2020 at 05:47AM by hereMaxwell
https://ift.tt/3lGGKWI
New post on /r/flutterdev subreddit:

Has anyone deployed a Flutter macOS app to production?
I am considering building a Mac app in Flutter as a companion to my mobile apps. Has anyone built it into production and put it on the Mac App Store? If so, how was the process like?I'm curious to know all this since I want to know how developers are feeling about it. Thanks to those who do choose to answer!

October 13, 2020 at 05:28AM by jazilzaim
https://ift.tt/3lGIjnn
New post on Flutter Dev Google group:

Android Studio (not installed)
After Android Studio 4.1 update flutter doctor have issue: Android Studio (not installed) and File/Project Structure settings not exist any more. Is anyone know what the problem here?

October 13, 2020 at 06:10AM by Andrejus Bykovas
https://ift.tt/36ZGoq0
New post on /r/flutterdev subreddit:

MVC vs. BLoC + RxDart ? Does architecture choice really matter with good coding principals and clean design?
I come from a .Net background where MVC is king. So all the MVvM and MVC architectures in the Flutter community are what I gravitate towards doing naturally.Is this limiting me and my apps? I am about to start a new project and thought about stepping out of my comfort zone and trying BLoC + RxDart for the first time cause it's a standard in the community and I've heard good things.Can someone convince me to try this? I still haven't heard a great explanation of BLoC... mostly cause the examples use single variables like an email or bool value(too basic to understand the bigger picture.)

October 13, 2020 at 07:48AM by maylortaylor
https://ift.tt/2GJbzv3
New post on Flutter Dev Google group:

Regarding DART USB Communication Command
I'm developing an app where I need to communicate with a device through USB Command. My device accept both the command through serial communication tool. But when I have used *await port.write(Uint8List.fromList("read-1 -r 10 20\r\n".codeUnits));* this command(It takes parameter along with the

October 13, 2020 at 08:10AM by AZ Saha
https://ift.tt/3lG576S
New post on Flutter Dev Google group:

Use a map cheaply or for free in Flutter for commercial purposes
Dear Ladies and Gentlemen, I'm writing to you because I have a question about the integration of a map in an app programmed with Flutter. Since I want to use this App Commercial, I would have to pay for every request on google if I got it right. Is there a legal way to integrate a map into the

October 13, 2020 at 09:39AM by Vincent
https://ift.tt/3jUKIKM
New post on /r/flutterdev subreddit:

Need help with collecting data for a healthcare Flutter app
Hey everyone. A few of my college mates and I are working on a project that aims to make the quality of life for PD patients better. We are also planning on applying to hackathons to win funds to better support this project of ours. Our idea aims to provide a Parkinson’s Disease symptom assessment tool on a flutter app. This app would allow PD patients to self-assess their symptoms with the help of image analysis by a machine learning model to analyze the severity of PD. The problem we have run into is the lack of data hence the accuracy of our model suffers. We are therefore requesting anyone who can here, to volunteer to collect more data for us by requesting as many PD patients as they can, to take this test on our behalf. This data will be submitted anonymously with the consent of the patient. Please find the google drive link as a comment which consists of a smaller app that we have developed to collect this data. Anyone who volunteers to help us with this needs to get the PD patients to take the tests on the app and send me the result images as a direct chat message without the personal details of the patient. The video there explains how that app is to be used. Please find a presentation file in the drive link for more details on this project. Thank you for taking your time out to read this, especially if you are volunteering to help us in this endeavor.

October 13, 2020 at 09:14AM by reddituser20-08
https://ift.tt/371hiqv
New post on /r/flutterdev subreddit:

Best practice for navigating through nulls in Map-ed json when deep nesting (eg, from firestore)?
I've got quite heavily nested json resulting in large trees of Map<String, dynamic>. The structure is known in advance but branches may NOT exist until a later time.In non-nullable dart (not yet released) I can do this:
Map<String,dynamic?> data={}; var r=data['a']?['b']?['c']?['d']?['completed'] ?? false ; print(r); 
This is perfect but probably the firestore libraries will not return Map<String,dynamic?> :'(And nullable dart doesn't support this.​However, with nullable dart I could of course laboriously test for null at each step. To avoid that I use ??
bool isCompleted(Map<String, dynamic> data){ var a=data['a'] ?? {}; var b=a['b'] ?? {}; var c=b['c'] ?? {} return c['completed'] ?? false; } 
Is there a better way?Of course I could optimise with if statements and use parentheses, however I have a lot of these functions to do and don't need to optimise in any case. I'd rather keep them readable as well as easy to write, but I also prefer to avoid all the assignments.

October 13, 2020 at 10:51AM by itsastickup
https://ift.tt/34Yqc5Q
New post on /r/flutterdev subreddit:

Add all images of an asset folder to a listview
https://ift.tt/3dl9f9a

October 13, 2020 at 12:00PM by skimtiyaz
https://ift.tt/2SRUyRA