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

Are you a flutter developer ? Did you use build_value or moor ? Do you want to see our to generate dart code using an annotation ? Here's my new blog post about it, check it out
https://ift.tt/2lESwaE

September 27, 2019 at 01:25PM by bitsydarel
https://ift.tt/2ndm5AE
New post on /r/flutterdev subreddit:

Custom ScrollPhysics
Hi,Does anybody have some good resources that explain how you can create your own custom ScrollPhysics?
The most advanced one I found was a YouTube video from Tensor Programming.In particular we are interested in how you can create a snapping behaviour similar how it works in Android using the SnapHelper in a RecyclerView.
Ideally we want to use this Custom Snapping Scroll Physics in a horizontal ListView that can handle items of different widths.Anybody else having trouble with the limited info about this API?

September 27, 2019 at 02:54PM by timrijckaert
https://ift.tt/2m8p4dv
New post on /r/flutterdev subreddit:

Usage of platform channels for push notifications with image and actions
Hey, a project requires an images ability to and add it to let's say "favorites".Did a lot of research, found only way to do this would be using native code(correct me if i'm wrong), so getting a "data" only payload for android ( not versed in ios dev, so didn't look into that part yet) and sharing the info to the channel somehow is the way to goMy main question is, since platform channels use main thread:
Even though Flutter sends messages to and from Dart asynchronously, whenever you invoke a channel method, you must invoke that method on the platform’s main thread as stated here:
"https://flutter.dev/docs/development/platform-integration/platform-channels#architectural-overview-platform-channels"
won't there be any noticable lag for the user? For example he is in the middle of scrolling a listview, and notification comes. New to flutter, no experience with channels so far, so that's quite an important thing for me to know.If anyone has experience in doing such, any pitfalls, advices or links to the projects with such would be much appreciated.Thanks in advance!

September 27, 2019 at 04:25PM by skyyoo_
https://ift.tt/2nbpZd8
New tweet from FlutterDev:

When creating a new app, would you like to set the application ID in Android and bundle ID in iOS?

Use the --org option with the Flutter command line!#FlutterFriday pic.twitter.com/QRSav9hBLu— Flutter (@FlutterDev) September 27, 2019

September 27, 2019 at 06:00PM
http://twitter.com/FlutterDev/status/1177613878366281729
New post on /r/flutterdev subreddit:

BACK BUTTON INTERCEPTOR: Widgets that interact with the Android back button can use the BackButtonInterceptor (instead of WillPopScope): You may add functions to be called when the back button is tapped. They may perform some useful work, and may return true to prevent the route pop.
https://ift.tt/2Mg3sXP

September 27, 2019 at 06:05PM by marcglasberg
https://ift.tt/2neANax
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