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

Is it possible to have that type of android notification within Flutter ? (Constant/Service notification)
http://imgur.com/gallery/PTdxV08

December 15, 2019 at 10:23AM by Kadarach
https://ift.tt/2RU49YM
New post on /r/flutterdev subreddit:

What do you think Flutter Web Stable should have?
I tried FLutter web and here is my summary of why Flutter web is not ready:1- I use SVG only in my app for responsive and small size icons but Flutter SVG library is not supporting the flutter web yet because of dart paint is not fully support web.2- Several libraries depend on dart:io package like Connectivity and Firestore but dart:io is not supported on Web https://github.com/flutter/flutter/issues/399983- Errors on non-supported plugins are not clear on which plugin does not support the web and you can see the crash only in the runtime.4- Breakpoints don't show the variable value while debugging only you can print it.5- When you resize the app on Chrome you feel the render is lagging and it could show error while resizing the window.6- While evaluating your app for Flutter web you will face the CORS policy issue which requires some changes in the backend.
I asked for ignoring chrome CORS security for playing with Flutter web but my proposal is rejected
https://github.com/flutter/flutter/issues/46904
https://github.com/dart-lang/webdev/issues/862I have to ask Python AWS developer and PHP developer to allow CORS for my request and I have to add a fixed port in my launch.json"configurations": [
{
"name": "Flutter",
"request": "launch",
"type": "dart",
"args": [
"--web-port",
"8080"
]
}
]7- Google maps plugin is not ready for Web

December 15, 2019 at 01:56PM by amrenew
https://ift.tt/36FU46e
New post on /r/flutterdev subreddit:

Flutter Gallery Web version
https://ift.tt/2sx3oKU

December 15, 2019 at 04:56PM by sebaslogen
https://ift.tt/2PQTzzr
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