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

Kiosk mode
Hi all, Is there a way to configure a flutter app to run in kiosk mode?

December 15, 2019 at 06:28PM by Giuseppe Gambino
https://ift.tt/34qJL4a
New post on /r/flutterdev subreddit:

The application provides beautifully written messages and greetings.
We wish you a Merry ChristmasWe wish you a Merry Christmas and a Happy New year 🎉🎊​It doesn’t matter if you’re naughty or nice, this year Santa Claus’s gifting you with the best free Christmas gift you didn’t even know you asked for.​The application provides beautifully written messages and greetings.​Bring a smile to your loved ones’ faces by sending them heartfelt Christmas and New Year greetings with the Christmas and New Year 2020 greetings app!

December 15, 2019 at 08:27PM by shanu12joshi
https://ift.tt/36ySBhG
New post on Flutter Dev Google group:

given below is the error ocur while i just open pubspec.yaml and after that this exception shown and my images did not display in app
I/flutter (10104): #125 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5) I/flutter (10104): #126 StatelessElement.update (package:flutter/src/widgets/framework.dart:4298:5) I/flutter (10104): #127 Element.updateChild (package:flutter/src/widgets/framework.dart:2977:1

December 15, 2019 at 10:31PM by Shani Malik
https://ift.tt/2ElzMTg
New post on /r/flutterdev subreddit:

Tighten up you type checking in preparation of NNBD
If you already use
implicit-casts: false implicit-dynamic: false 
you will learn nothing new from reading this.Did you ever write something like
List<int> filterEven(List<int> ints){ return ints.where((item) => item % 2 == 0)); } 
which compiles fine, only to get a runtime error, and were annoyed that the Iterable got implicitly downcasted to List by the dart compiler, even though that will fail at runtime?There is a setting that turns this implicit downcasts off. Just add
analyzer: exclude: [build/**, lib/**/*.g.dart] strong-mode: implicit-casts: false 
To your analysis_options.yaml. This will be the default setting once NNBD is released (Source), so I really recommend turning this on.You might have to do some minor changes to your project, but nothing too bad.While you're at it, you also might want to add
implicit-dynamic: false 
to your analysis_options.yaml.This stops the type-inferrer from inferring dynamic, except when you specify the type dynamic explicitly. I strongly recommend turning this on, too. An implicitly inferred dynamic can cause really strange behavior, for example in this case:https://dartpad.dev/b42203ba5d7d8e5ff55f99bd003a81bfThe programmer forgot to add the generic type to the "extends" definition, and now gets the cryptic error message
Expected a value of type '(dynamic) => Widget', but got one of type '(int) => Text' 
To turn this in a compiler error at the right place, use
 implicit-dynamic: false 
One annoying downside of this is that you have to add the dynamic type explicitly, even when a method expects a dynamic type, e.g. if there is a method
Foo deserialize(Map<String, dynamic> jsonMap) 
you need to call it like this:
deserialize(<Map<String,dynamic>> {"key": "value"}); 
But I would still argue this feature is worth some additional boilerplate.

December 15, 2019 at 10:36PM by oaga_strizzi
https://ift.tt/2PM086k
New post on /r/flutterdev subreddit:

Flutter form inkwell bug
Hello i can’t describe it but its quite strange!Here is a video of it: video of bugIt seems like the button is kept pressed.Ill post the code here too:

December 16, 2019 at 12:11AM by nicolaszein
https://ift.tt/2PUktXc
New post on /r/flutterdev subreddit:

Is it possible to develop with flutter without an IDE?
I'm a bit old school in that I develop in generic text editors (vim and gedit on ubuntu, primarily). I'm interested in developing with flutter and built a container with the android sdk and flutter, but most tutorials seem to rely on using an IDE. Is there any tutorial out there that shows development on the command line, or similar? Thank you!

December 16, 2019 at 01:28AM by vsoch
https://ift.tt/2Pn4wcM
New post on /r/flutterdev subreddit:

Little help here putting logic on icons
I have this list
final List<String> entries = <String>['Life', 'Car', 'Car']; 
then i try to generate 3 widgets each one with an icon depending on the values that have the array i tried in this way
 children:<Widget>[ Icon( entries=='Life'? Icons.favorite_border:Icons.directions_car, color: Colors.white, textDirection: TextDirection.ltr, size:50, ), 
but all widgets get the favorite_border icon instead of mixing between directions_car and favorite_border.

December 16, 2019 at 02:49AM by alexis30rn
https://ift.tt/36An679
New post on /r/flutterdev subreddit:

Flutter Tap Newsletter - Week 17 - Flutter interact special edition. Articles, tutorials, videos and much more
https://ift.tt/2tntIrb

December 16, 2019 at 12:23PM by vensign
https://ift.tt/2YQihDU
New post on /r/flutterdev subreddit:

Flutter: Code Organization (Revised)
https://ift.tt/2sBzTav

December 16, 2019 at 12:17AM by conman__1040
https://ift.tt/34qMURF
New post on /r/flutterdev subreddit:

Flutter Widget In Focus — ToggleButtons (Know It All)
https://ift.tt/2ElsY89

December 16, 2019 at 02:04PM by pinkeshdarji
https://ift.tt/2LXY7me
New post on /r/flutterdev subreddit:

<b>Recap: Interact 2019 was... &#129512;&#127798;&#65039;&#128293;&#128165;&#128175;</b>
Hey everyone -- this is our last recap for the year. Enjoy and we'll see ya in 2020!Want to get it by email? <a href="https://flutterigniter.com/snacks/">Click here</a>.____<a href="https://developers.google.com/events/flutter-interact">Flutter Interact 2019</a> just wrapped up and there were some <a href="https://www.youtube.com/playlist?list=PLjxrf2q8roU0o0wKRJTjyN0pSUA6TI8lg">fantastic announcements and talks</a>.For those that have questioned whether or not Flutter is worth investing their time and mone, watch Interact and read the recaps. We believe Google’s continued commitment, as well as <a href="https://tech.ebayinc.com/product/under-the-hood-of-ebay-motors-new-app-powered-by-advanced-technology-like-flutter-ml-and-bff/">adoption by big players like eBay</a>, should help to convince you that Flutter isn’t going anywhere but up &#8599;&#65039;____One UI toolkit to rule them all... &#128081;In the <a href="https://youtu.be/NfNdXgJZfFo?list=PLjxrf2q8roU0o0wKRJTjyN0pSUA6TI8lg&t=875">Vision Keynote</a> (accompanying blog post <a href="https://developers.googleblog.com/2019/12/flutter-ui-ambient-computing.html">here</a>), Matias Duarte, winner of the “Best Dressed at Interact” award (that suit tho… &#128293;) discussed the concept of ambient computing and how it’s core to Flutter’s vision. The idea of using Flutter and only Flutter to build applications for mobile, web, watch, car, etc...is admittedly tantalizing.Here’s the TLDR; on ambient computing:<strong>Services and software need to be available wherever users need them</strong>...for those that are old enough to remember, we’ve heard a version of the “ambient computing” dream many years ago with Java and it’s friend Swing. While that dream was never truly realized because <a href="https://zef.me/java-swing-history-e1ea143460d6">things ultimately looked like sh*t</a>, we’re once again embarking on a similar journey with Flutter. We’re cautiously optimistic that the end result will be muchhhhh better &#128514;<strong>Multi-platform doesn’t mean sacrificing visual quality</strong>...let’s face it, we live in an era where there are more and more options when choosing what experiences we choose to use on a daily basis. Apps not only need to do what we want but they need to look good doing it…____Flutter 1.12 is here...&#128142;As most of us hoped for, <a href="https://youtu.be/ukLBCRBlIkk?list=PLjxrf2q8roU0o0wKRJTjyN0pSUA6TI8lg&t=422">Google announced Flutter 1.12</a> (<a href="https://flutter-widget.live/blog/release-notes-1.12.13">changelog</a>). While there are no earth-shattering announcements, there is <a href="https://medium.com/flutter/announcing-flutter-1-12-what-a-year-22c256ba525d">lots of progress</a>, which is what we love and have come to expect from the Flutter team. 4,571 issues closed and 1,905 PRs merged; not too shabby!<strong>Cupertino love</strong>...the Flutter team hasn’t forgotten about all of you Apple fanboys. Version 1.12 brings official iOS Dark Mode support as well as two new widgets: <a href="https://flutter-widget.live/widgets/CupertinoContextMenu">CupertinoContextMenu</a> and <a href="https://github.com/flutter/flutter/pull/42775">CupertinoSlidingSegmentedControl</a>.<strong>Flutter for web goes beta</strong>...in the spirit of all things ambient computing, the Flutter team announced that <a href="https://youtu.be/ukLBCRBlIkk?list=PLjxrf2q8roU0o0wKRJTjyN0pSUA6TI8lg&t=1257">Flutter for Web is now in beta</a> (accompanying <a href="https://medium.com/flutter/web-support-for-flutter-goes-beta-35b64a1217c0">blog post</a>)! Flutter apps created on the beta channel with web support enabled will now include a web/ directory that contains everything you need to run your project on the web. Support for plugins is also here with fan favorites like shared_preferences and many more already updated with web support.<strong>Flutter…
New post on /r/flutterdev subreddit:

A Kanban game made in flutter, soon to be open-sourced.
https://ift.tt/2PQGBS5

December 16, 2019 at 07:50PM by absolutehalil
https://ift.tt/2rJjhxM
New post on Flutter Dev Google group:

AnimatedContainer, expensive or no?
I want to check to be very clear on something. I've heard it said by people who should know that the AnimatedContainer will try to animate every property it can, not just the ones that have changed. This would mean it would be a very poor choice for people to overuse it for things that could be

December 16, 2019 at 08:42PM by Scott Stoll
https://ift.tt/36F5g2J
New post on /r/flutterdev subreddit:

How to clear AsyncMemoizer old memory ?
How to clear AsyncMemoizer? I need to refresh my tab controller screen after it's opened. But it's not getting updated because the Memoizer isn't allowing me to update the current state of the screen, I have used AsyncMemozier because my futurebuilder was going in a loop in a provider because of notifylisteners, And I was calling my method from a stateful Futurebulider.

December 16, 2019 at 08:15PM by FlutteryFlirt
https://ift.tt/34rCKAf
New post on /r/flutterdev subreddit:

How to capture errors and send platform-specific information to Sentry in Flutter?
One of the aspects of developing software is to handle errors and log them properly in order to mitigate them at the right time.When we develop for Flutter, indeed, we have several options to capture and log the errors. One of the greatest tools which come with an easy-to-use dart package is Sentry.io.It is not always easy to reproduce the errors that occur if there is no extra information about the platform or environment as recreating the exact same situation could be difficult and time-consuming.For more information, read my article here....

December 16, 2019 at 09:36PM by mhadaily
https://ift.tt/2EkCNDg
New post on /r/flutterdev subreddit:

Packages a potential pitfall?
Note: purpose of this post is open discussion.I love flutter to say the least. But as I'm moving out from beginner to intermediate as flutter developer and apps I'm building are getting more and more complex. I myself find using packages sometimes to carry out native device functions or sometimes to be lazy and use cool looking ui widgets instead of building my own. But since most of these packages are built by enthusiastic developers, it is possibility that due to some reason the development of those packages stops abruptly. Which could in turn lead to minor to major changes in app. (I'm looking at you state management libraries).What are your view about it?

December 17, 2019 at 12:35AM by BlueBoxxx
https://ift.tt/36ElQjl