Flutter Heroes
25.9K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

BitmapDescriptor.fromAssetImage returns null
Hi everyone,​Since fromAsset is deprecated and doesn't provide size functionality, I moved to use fromAssetImage (which is a future function), however it is not working properly where I get default marker due to null.
var Icon_num = 1; icon: correct_icon(Icon_num) 
BitmapDescriptor correct_icon(String num) { var config = ImageConfiguration(size: Size(32, 32)); String Image_String; switch (num) { case "1": Image_String = 'assets/num/1.png'; break; case "2": Image_String = 'assets/num/2.png'; break; case "3": Image_String = 'assets/num/3.png'; break; case "4": Image_String = 'assets/num/4.png'; break; case "5": Image_String = 'assets/num/5.png'; break; case "6": Image_String = 'assets/num/6.png'; break; case "7": Image_String = 'assets/num/7.png'; break; case "8": Image_String = 'assets/num/8.png'; break; case "9": Image_String = 'assets/num/9.png'; break; default: Image_String = 'assets/num/0.png'; break; } BitmapDescriptor myIcon; BitmapDescriptor.fromAssetImage(config, Image_String).then((onValue) { setState(() { myIcon = onValue; }); }); return myIcon; } 
​To diagnose this code, I have added, print('Before) before the BitmapDescriptor.fromAssetImage function, print('inside') inside the function and print('after') after the function. What I got is:​Beforeafterinside​So I think the code is not being executed properly.

July 09, 2019 at 07:00PM by abuchery
https://ift.tt/30nFpcv
New post on /r/flutterdev subreddit:

My first flutter app
Hey guys i created an app using flutter and by learning from tutorials available online. Have a look at it and tell me how does it look and feel and send me your reviews.​https://play.google.com/store/apps/details?id=in.webxstudio.android.quizappIt is an opensource app so you guys can check the code athttps://github.com/gat786/quizappnew

July 09, 2019 at 08:00PM by Gat786
https://ift.tt/2YJTD70
New post on Flutter Dev Google group:

bidirectional list
how can i achieve a bidirection scrollabable list, i cant seem to find an example for the this plugin in https://ift.tt/2S75OIB

July 09, 2019 at 09:08PM by Motebang Mokwatsi
https://ift.tt/2LblQkb
New post on Flutter Dev Google group:

Updating one field using Firebase
Hi, I am quite new to Flutter and just started playing with Flutter and Firestore. Does anyone know if it's possible to update only one particular field in Firestore document? I don't want to set again all the fields, but based on documentID only update ones. What I am trying to do is to use

July 09, 2019 at 09:15PM by Robert Grześkowiak
https://ift.tt/2XBMWaS
New post on Flutter Dev Google group:

v1.7.8+hotfix.2 available in the stable channel...
By now, you may have noticed that v1.7.8+hotfix.2 is now available in our stable channel! This includes a whole passel of fixes and features, but in particular it addresses the upcoming Google Play Store requirement that app submissions include 32-bit and 64-bit bundles, as described in

July 09, 2019 at 09:52PM by Ray Rischpater
https://ift.tt/2NFf0FA
New post on /r/flutterdev subreddit:

Is Overlapping ListItems (Puzzle shaped items) inside a ListView possible?
🧩 🧩🧩Lets say I have puzzle pieces as 'ListItem's and I want to have infinite vertical scrolling for this 'ListView'. The contents of the puzzle pieces are taken from server.The problem I am having is the items shapes are not simple rectangles, but instead puzzle piece shapes. These interlock each other meaning the 'ListItem's overlap along their height.What would be a strategy to overcome this issue in Flutter? I know about stacks and can easily make a view using stack and positioned puzzles inside of it. However since i need them to be scrolled infinitely I don't know what the performance would be

July 09, 2019 at 09:45PM by aytunch
https://ift.tt/2JnrFJ4
New post on /r/flutterdev subreddit:

Has anyone tried using absurdly large DataTables?
Specifically, I'm talking about this one.I'm trying to show this table inside a Flutter app for some testing. API is here, and it's based on the table here. I was hesitating between showing a list of Cards, ListTiles, an ExpansionPanel or a DataTable.I've looked at some tutorials to see some screenshots on what it looks like before trying to implement it, but they all use a reasonable amount of columns, which makes it impossible to imagine what would happen if a DataTable was needlessly large. Is it responsive?So... How do you personally show such tables?

July 09, 2019 at 10:43PM by NatoBoram
https://ift.tt/2Y2m1Va
New post on /r/flutterdev subreddit:

Flutter 1.7 stable
https://ift.tt/2JF31Ts

July 10, 2019 at 02:38AM by aagarwal1012
https://ift.tt/2XCh5a2
New post on /r/flutterdev subreddit:

Flutter (Web) Apps | It's All Widgets!
https://ift.tt/2JF341A

July 10, 2019 at 02:27AM by hillel369
https://ift.tt/2Xy6tcd
New post on /r/flutterdev subreddit:

Slidy, a CLI to structure your project and manage packages like a NPM.
This CLI consists of a way to assemble your project structured by modules, pages, repositories, widgets always following the standards of good practices that has been applied by the community flutter in bigger and more structured projects. It also provides the libraries manager (libs or pubs) with it you can install multiple libraries with just one command line and even remove and update.​Live and post on medium in Portuguese:https://medium.com/flutterando/estruturando-um-projeto-flutter-3e950d697987https://www.youtube.com/watch?v=Zok9dL3GKiw&t=825s​Package: https://pub.dev/packages/slidy

July 10, 2019 at 02:22AM by irvine5k
https://ift.tt/2JF37KO
New tweet from FlutterDev:

Announcing the availability of Flutter 1.7!

The release includes support for AndroidX and for updated Play Store requirements, a number of new & enhanced components, and bug fixes with over 2,500 issues closed since our last stable release.

More here → https://t.co/FPDEG3xDzY pic.twitter.com/BGXm3AMoIX— Flutter (@FlutterDev) July 9, 2019

July 10, 2019 at 01:20AM
http://twitter.com/FlutterDev/status/1148733682024407041
New post on /r/flutterdev subreddit:

Automatic code generation for bloc pattern using Dart
I wrote an article about automatic code generation using a command-line app,https://medium.com/@saifulislamadar_12003/boilerplate-code-generation-using-dart-e2c08aa21bb7

July 10, 2019 at 05:18AM by adarbadar
https://ift.tt/2YM6Koi
New post on Flutter Dev Google group:

Deploying multiple flavours to app Store
Hi Everyone, I'm using more than five apps with the same code base and different templates(flavors).In Play Store different application is deployed successfully But I have a doubt does apple blocks me while deploying these different app in app store?. Thanks

July 10, 2019 at 09:23AM by Suriya SCT
https://ift.tt/32hgCJ1
New post on /r/flutterdev subreddit:

Interesting features of the Dart programming language
https://ift.tt/2S1VDoO

July 10, 2019 at 08:20AM by Darkglow666
https://ift.tt/2JynbOF
New post on /r/flutterdev subreddit:

Flutter PSA: Since Dart 2.4 (currently in Flutter stable), you can send large amounts of data between isolates (i.e. CPU threads) cheaply by using TransferableTypedData.
https://twitter.com/filiphracek/status/1148773199745835008

July 10, 2019 at 10:49AM by EngineerScientist
https://ift.tt/2JojFaN