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

Firestore runTransaction never runs (Hung)
Hi again My transaction code has been running fine for months and suddenly the transactions are simply not running. No exceptions no logcat output no nothing. Just never returns or invokes the callback. Seems like its stuck waiting. There are no other firestore operations occurring at the same

September 27, 2019 at 07:09PM by Antonio Gomez
https://ift.tt/2lKMPbg
New post on /r/flutterdev subreddit:

60 Days of Flutter : 'Building a Messenger from Scratch' : Day 39–41 : One UI Inspired Attachments Showcase Page
https://ift.tt/2lEsiVC

September 27, 2019 at 07:03PM by aditya_gurjar
https://ift.tt/2lC8i5Y
New tweet from FlutterDev:

📺 🔬 The #BoringShow is experimenting.

To be more efficiently boring, we sped up this episode by 20% while looking into isolates and multithreading:

💡 Did you know?
If you use Flutter/Dart, you've run code in an isolate!

Watch here →https://t.co/MmJ7DRSZro pic.twitter.com/Z2HBfg9BCg— Flutter (@FlutterDev) September 27, 2019

September 27, 2019 at 08:37PM
http://twitter.com/FlutterDev/status/1177653501209534464
New post on /r/flutterdev subreddit:

Position offset in canvas based on Max, Min value ?
How to calculate the position offset in canvas based on Max and Min value (custom Painting) widget? And how to calculate number of horizontal lines based on the same Max and Min values?

September 27, 2019 at 07:45PM by KELEVERA-L
https://ift.tt/2nghdun
New post on /r/flutterdev subreddit:

CLI Tool for automating code generation for Flutter projects
Hello everyone,At the studio we have released the first version of Wholesome CLI, an open source tool for automating code generation on flutter projects, proposing a default architecture and folder structure based on BLoC pattern.We would like some feedback about it, we are open to contributions, help, debating and discussion about the proposed idea and better ways to achieve it.You can take a look at:
https://github.com/clawstudios/wholesome-cliHope you like it!

September 27, 2019 at 09:09PM by mmalvido
https://ift.tt/2nWDWvZ
New post on /r/flutterdev subreddit:

A day night switch widget for Flutter. [GitHub link in comment]
https://ift.tt/2lI9k0l

September 27, 2019 at 10:37PM by divyanshub024
https://ift.tt/2nWjFXm
New tweet from FlutterDev:

Take a set of items
and give them
some order!

ListView takes your list of items and orders them in a scrollable list. Don't like how it scrolls? Customize the direction and behavior, then build up your lists.

More #WidgetoftheWeek here → https://t.co/vggV4cXN3u pic.twitter.com/AcI3CAQgjl— Flutter (@FlutterDev) September 27, 2019

September 27, 2019 at 11:50PM
http://twitter.com/FlutterDev/status/1177702140896141312
New post on /r/flutterdev subreddit:

Chat with Lucas Montano - Flutterando
Hello Devs! Lucas Montano is a phenomenon on YouTube with his personal development tips focused on programmers. He currently lives in the Netherlands and today our special chat is with him!
https://www.youtube.com/watch?v=wUWk-a9IWFw

September 28, 2019 at 02:39AM by AlvaroVasconcelos
https://ift.tt/2ms9sl1
New post on /r/flutterdev subreddit:

Money/currency class released
We have released a new version of a money/currency class for dart/flutter.It's based on an existing code based which we forked for couple of reasons.We have modified the API to create what we think is a cleaner API as well as adding a formatter for outputting monetary amounts.You can find it by searching for money 2 into the dart pub repos.https://pub.dev/packages/money2final usd = Currency.create('USD', 2);// 100,345.30 usd Money costPrice = Money.fromInt(10034530, usd);costPrice.format("SCC###,##0.00");$US100,345.30Happy to receive feedback and contributions.

September 28, 2019 at 07:23AM by bsutto
https://ift.tt/2lNzS0d
New post on /r/flutterdev subreddit:

Firebase Database for flutter Web .?
Right now Can implement Firebase Database in Flutter web.I tried but code is not working .

September 28, 2019 at 11:18AM by Thiszmyusername
https://ift.tt/2mx2wD6
New post on /r/flutterdev subreddit:

how to get item from a list of values returned from http get request?
_getState() async { 
String url = "http://url.com"; HttpClient httpClient = new HttpClient(); HttpClientRequest request = await httpClient.getUrl(Uri.parse(url)); request.headers.set('content-type', 'application/json');HttpClientResponse response = await request.close(); // todo - you should check the response.statusCode String reply = await response.transform(utf8.decoder).join(); state = reply['state']; httpClient.close();print(reply); }​Then I get
I/flutter ( 4026): {"state":true,"updated_at":"2019-09-27 10:15:39","created_at":"2019-09-27 10:15:39","id":24} 
​​then how can I get the boolean value of 'state' to integer or boolean?​Thank you guys

September 27, 2019 at 12:46PM by HeyJOe2
https://ift.tt/2nvdcCj
New post on /r/flutterdev subreddit:

Check out this week's installment of Flutter Discovery. Dark Mode, Typedefs, Paths in Flutter and much more
https://ift.tt/2mzgPHi

September 28, 2019 at 01:51PM by DecimalSaxon
https://ift.tt/2numFKs
New post on /r/flutterdev subreddit:

Projects Time Tracking App - Flutter Speed Code
https://youtu.be/ojH1lBEf5Zw

September 28, 2019 at 03:53PM by GiorgioZem
https://ift.tt/2nwzX8U
New post on /r/flutterdev subreddit:

Get Started With Flutter #1 Scaffold Widget
https://youtu.be/Zk49m30yoF4

September 28, 2019 at 06:52PM by systechdevelopers
https://ift.tt/2lYi96s
New post on Flutter Dev Google group:

Width PagedDataTable based on the width of its contents.Howto?
A program draws DataTable with dynamic (unknown) content and I want to change the width of DataTable according to this content. I do not want to use the whole screen width because need it for additional optional widgets if there is a space for them. So how do calculate required space for good

September 28, 2019 at 07:48PM by Georgii Dernovyi
https://ift.tt/2lUXRut
New post on /r/flutterdev subreddit:

The craziest way to push notifications to Flutter from my_sql DB by PHP and Firebase
Ok, I tried so hard to deal with notification in my app by specific conditions in my #my_sql DB The background work in #flutter is kind of not easy to deal with, so here's my crazy way to achieve that: I connect my app with #firebase and every time a new mobile open the app it rejecte it's #token in the DB Now I create a public #PHP file that has access to my my_sql DB and my #firebase So I'm checking the conditions in the #PHP file and send the notification to the wanted token... So the most important thing that the frequency of that progress... I simply put my PHP file in #corn_job and make the site request it every one minute... And just like that it's done by this crazy way 😁 Necessity is the mother of invention 🙃

September 28, 2019 at 09:55PM by mohammedbabelly
https://ift.tt/2mEGiz6
New post on /r/flutterdev subreddit:

Learning Flutter Inquiry
Not promoting but legitimately asking for thoughts on this question. I plan on learning Flutter & Dart and came across this online course on Udemy. From the reviews it seems pretty great but I would like to know a second opinion from other experienced Flutter developers. Should I take this course to learn Flutter?https://www.udemy.com/course/learn-flutter-dart-to-build-ios-android-apps/

September 29, 2019 at 01:26AM by WulfJeager
https://ift.tt/2ofPMS3
New post on /r/flutterdev subreddit:

Flutter Inherited widgets in a widget
Inherited_widget.of(context).wanted_fieldin Flutter we access an inherited widget fields by using its static of
method:
Inhertied_widget.of(context).wanted_field 
so, my question is, in a widget (stateless or statefull) when we use something like this:
final ScreenArguments args = ModalRoute.of(context).settings.arguments; 
or:
MediaQueryData media = MediaQuery.of(context); 
does this mean that the widget inherits from MediaQuery
or ModalRoutethank you.

September 29, 2019 at 11:03AM by GeorgeNaz96
https://ift.tt/2nzLkx4