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

Tree shake icon fonts (since v1.15.1)
Flutter now has functionality to shake out unused icons from Material, Cupertino, FontAwesome, etc. fonts. For now the functionality is opt in. It is also only available in profile or release builds (in a dev build we're likely to do more harm than good by slowing down hot reload/restart and probably still getting it wrong with the way incremental kernel compiles work).You can try this out on the latest dev releases (not on beta yet). Word of warning, there are some known issues with the current dev channel. The command is flutter run --tree-shake-icons --profile. It can also be run with the various flutter build commands. If you're building from Xcode, you can set the TREE_SHAKE_ICONS environment variable; from gradle, it would be setting the tree-shake-icons property in the gradle properties.We're using this feature for builds of Google apps and should get good coverage there, but it would be great to hear from the community how this is working out. For typical apps using Material icons, you can expect to save between 60 and 100kb.​If you're interested in the implementation details, you can review the following:https://github.com/flutter/flutter/pull/49737https://github.com/flutter/engine/pull/14828https://github.com/flutter/engine/pull/15668​We'd like to eventually make this opt-out (on by default), but want to make sure it's working for various use cases out there first.Oh, and it's currently only available for iOS, Android, and macOS. Linux and Windows should be fairly easy to do, web will be a bit harder but possible.

February 15, 2020 at 11:42PM by dnfield
https://ift.tt/38Hdk4J
New post on /r/flutterdev subreddit:

scaff | scaff is a simple command-line utility for generating Dart and Flutter components from template files.
https://ift.tt/2P0iNf4

February 15, 2020 at 03:38PM by ganeshrnet
https://ift.tt/38yMg7t
New post on /r/flutterdev subreddit:

Reveal under mask (cookie cutter effect)
I'm a Flutter beginner and looking to implement a mask feature where the shape of the image "cuts-through" the image underneath it. Like a cookie-cutter. Unity3d has something similar feature in Sprite MaskBased on the research I have done, it seems to me that it can be done using ShaderMask or CustomPainter. Any other solutions ?

February 16, 2020 at 01:39AM by jamesmillerenium
https://ift.tt/37oLPeE
New post on /r/flutterdev subreddit:

How to control device back button?
Is there any way to control device back button.

February 16, 2020 at 08:24AM by BlueBoxxx
https://ift.tt/2wlu1UV
New post on /r/flutterdev subreddit:

Real time Theme chat app
https://github.com/Chunlee17/flutter_theme_chat
a chat app that allow Light theme user and dark theme user can chat with each other with emoji support and dummy story viewer

February 16, 2020 at 10:28AM by Fienases
https://ift.tt/2SywgwJ
New post on /r/flutterdev subreddit:

Hi please someone help me on this for my internship
hello guys I kinda need helpvoid _startScanning() { setState(() { _stream = NFC.readNDEF(once: true).listen((NDEFMessage message) { print("Read NDEF message with ${message.records.length} records"); for (NDEFRecord record in message.records) { print( "Record '${record.id ?? "[NO ID]"}' with TNF '${record.tnf}', type '${record.type}', payload '${record.payload}' and data '${record.data}' and language code '${record.languageCode}'"); } }); }); }I used this functionI/flutter ( 633): Read NDEF message with 1 records I/flutter ( 633): Record '' with TNF 'NFCTypeNameFormat.well_known', type 'U', payload 'geo:27.719733645761856,85.31858292429993' and data 'geo:27.719733645761856,85.31858292429993' and language code 'null'and I got this on my consolenow I want to print this in my applicationps I'm beginner and my internship depends on this please if anyone can help

February 16, 2020 at 11:39AM by swostikg
https://ift.tt/2uGlGuF
New post on Flutter Dev Google group:

firebase ml kit
Can we have some video related to,how to use ml kit of firebase in flutter?

February 16, 2020 at 12:44PM by Anant Kumar
https://ift.tt/2Sx3yMU
New post on Flutter Dev Google group:

Using routes to manage widget visiblity
Hi, I'm currently using a stack that has an a background widget that should be visible between several screens and currently what im doing is using visibility to manage the currently displayed set of widgets and manually implementing going back and forward. How would it be possible to use

February 16, 2020 at 01:10PM by Alex McGrath
https://ift.tt/38BFYE8
New post on /r/flutterdev subreddit:

Implementation of Github Like CommitChart in flutter.
https://ift.tt/2SMsa2R

February 16, 2020 at 09:43AM by flouthoc
https://ift.tt/2V2mYdQ
New post on /r/flutterdev subreddit:

No one hiring a flutter developer?
Hi all I am learning flutter but I realized that when I search for a flutter developer job postings in UK , there is nothing.. Do you think flutter is a baby or dead already?

February 16, 2020 at 04:37PM by YellowSecurityLine
https://ift.tt/2SKMx0q
New post on /r/flutterdev subreddit:

Open dialogs on device events.
HiI am new to Flutter and have runned into a problem that needs some friendly advices.I have a Flutter app that will have a Bluetooth scanning screen. When entering this screen, and the device not have activated bluethooth or if for some reason bluethooth is deactivated, I would like to show a alert dialog.How do I do that?For state management I am using Provider and I am using the package flutter_blue.

February 16, 2020 at 04:17PM by lgLindstrom
https://ift.tt/2Syvgsg