Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New tweet from FlutterDev:

๐Ÿ” Want to relive the keynote? Us too!

Watch the #FlutterEngage keynote, hosted by @timsneath, to catch up on all the announcements, partner updates, and more.

Now on demand → https://t.co/K7jbd44N7E pic.twitter.com/VMaxmpqceaโ€” Flutter (@FlutterDev) March 4, 2021

March 04, 2021 at 06:18PM
http://twitter.com/FlutterDev/status/1367524777775218691
New post on Flutter Dev Google group:

Highlight new data in StreamBuilder
I have a StreamBuilder listening to a Firestore Collection stream. Works fine. When I get a new snapshot, I build a widget for each document in the collection. On a new snapshot with a new document, I would like to highlight the new document in the UI. Is there a way determine from the latest

March 04, 2021 at 06:36PM by John Boudreaux
https://ift.tt/2OiQMlk
New post on /r/flutterdev subreddit:

I used AWS Amplify for Flutter. My views. To share your experiences, please comment below.
I used Amplify Authentication and DataStore for a week to build some prototypes and experienced the following:- Auth: Functionally it worked without any issues, but the authentication process was slow compared to Firebase Auth.- DataStore: Every update made to the data is versioned and when a change is made on the Cloud via AppSync GraphQL API, technically (as per the documentation) the edge device store should get synced upon DataStore initialization on app launch. But, this syncing experienced some amount of background delay (I did not miss adding await) which led to the usage of stale data on device. The local store was updated eventually using the synced data, but this behaviour was not expected in the first-place.

March 04, 2021 at 07:43PM by ankmahato
https://ift.tt/2Pz5XHM
New post on /r/flutterdev subreddit:

Been working on an app using flutter 1.22.6, how should I handle upgrading to flutter 2?
Hey everyone. I've been messing with flutter since November 2020 and I read the flutter 2 announcement earlier today.My app isn't super complicated, but it does make use of firebase auth/core, permissions, provider, geolocator, xmpp sdk, dio, localizations, etc. I ran the `outdated` command and I see basically a couple dozen out of date dependencies.What are some best practices for upgrading my dependencies so that I can safely upgrade from v1.22.6 to v2?Also, since I'm still actively developing on this app is it fine to stick with current versions (and also flutter at 1.22.6) for another month or two while the dependencies catch up?Thanks

March 04, 2021 at 07:37PM by EquivalentAnalysis66
https://ift.tt/3rhum2D
New post on /r/flutterdev subreddit:

Are you an openapi-generator user? Please upvote migration to Dart 2.12 request
https://ift.tt/3eamig8

March 04, 2021 at 08:50PM by bartektartanus
https://ift.tt/3bWuaiI
New post on /r/flutterdev subreddit:

Flutter 2 web scrolling performance
I noticed some people mentioned an issue with the Flutter 2 web scrolling performance. That's why I made a scrolling demo to check this out. I implemented a similar webpage in Flutter and in plain HTML.Flutter: http://flutter-scrolling-cats.web.app/HTML: https://flutter-scrolling-cats.web.app/plainhtml.htmlโ€‹The demo shows 1000 blue boxes, each with an image (from a set of 6 random cat images, clipped borders, dropshadow) and a text on the right side. When you click on the image, it animates its height to a new random height.Notice: On mobile the layout isn't the best. Put your phone into landscape to better test scrolling while clicking on images.โ€‹My observations:Scrolling performance is great on both implementations (M1 mac, Chrome) as well as mobile (Pixel 4, Chrome)On my Pixel 4 the text re-layouting is slightly more sluggish on HTML while the height animates after a clickFlutter initial loading time is longer for the first time (due to load WASM engine) but as fast as HTML on any further load (PWA caching)When switching tabs Flutter sometimes loses the ability to scroll with left-mouse-click-touch-like-scrolling.โ€‹Maybe you can try this out and report your observations, so we get an idea what Flutter 2 web scrolling performance is about.

March 04, 2021 at 10:32PM by felixlein
https://ift.tt/30dn4Rr
New post on /r/flutterdev subreddit:

WebRTC - the right choice?
I have know some Python and JS and recently Flutter caught my eye and I like the approach.Currently I am working on a fun project with a friend and we want to develop an app that also provides the option to have videocalls. Is this possible in Flutter, maybe with WebRTC? Are there good libraries for that or should I stick with React native?

March 04, 2021 at 11:26PM by -newme
https://ift.tt/3sPZGpj
New tweet from FlutterDev:

๐ŸŒŸ Choreographing transitions in your Flutter app.

In this #FlutterEngage community session, join @pblead26 to learn how we build a flawless app where we use Flutter to choreograph our screen or user flow and UI.

Watch for more ๐Ÿ‘‰ https://t.co/9CviVjtUzr pic.twitter.com/GroZ7lIMkBโ€” Flutter (@FlutterDev) March 4, 2021

March 05, 2021 at 12:05AM
http://twitter.com/FlutterDev/status/1367612276782600192
New post on Flutter Dev Google group:

Firestore error after null safety migration
My application is working fine before null safety migration. Afterwards I get a runtime error when attempting to read a record, "Error: [cloud_firestore/unknown] Expected a value of type '((Object?) => Object)?', but got one of type '(Object) => Object?'" I thought maybe I did something wrong in

March 05, 2021 at 04:02AM by John Boudreaux
https://ift.tt/3sWITRL
New post on /r/flutterdev subreddit:

So null safety packages are not compatible with older versions of flutter?
It's very hard to upgrade the flutter version in an existing BIG project with 39 packages.But as a package author, this is my issue:Let's say I upgraded my package to null-safety. Without any feature changes or breaking changes. So that's good.BUT, what if in the future I added a new feature for my package and published it.I can't use the latest version of my package with older flutter right? But the new feature of the package is kinda required...Basically, the flutter app will be stuck with the package version that doesn't have null-safety which also doesn't have the required new feature...Is it okay to not migrate my packages to null-safety for now? I will update them to null-safety when all feature I planned is implemented.

March 05, 2021 at 05:58AM by yurabe
https://ift.tt/2MMMWAr
New post on /r/flutterdev subreddit:

Embedded YouTube video in android apps
I building the android app. In this app I embedded some you tube video which are not mine. So my question is can I embedded the those YouTube video in my app I used the original link of the original content creator to avoid any type of problem or copyright issues also I mention all the channels in my application.I doesn't want to steal anyone content my aim is only to take place all the contents at one place so users get it's easily

March 05, 2021 at 07:01AM by Prashant_4200
https://ift.tt/3sRQXD0
New post on /r/flutterdev subreddit:

Layout design tool that can be imported into Flutter? Having a lot of trouble being creative with layouts. Stuck in "writer's block." Any help is appreciated.
I'm using Flutter for my university senior project as I wanted to work on a mobile app as I've always done backend. I've took a course that has helped me learn Flutter so I'm set on the basics. I'm having soooo much trouble being creative in making a layout. I've rarely worked with front-end so this has been a huge challenge for me. Are there any tools out there that can help me create a layout that I can easily export the source code to Flutter? If not, are there any videos that's recommended that can help me get more creative in building Flutter layouts? I'm in "writer's block." Any help is appreciated.

March 05, 2021 at 08:38AM by theofficialtaha
https://ift.tt/30bEr54
New tweet from FlutterDev:

โœจ Hepiniz davetlisiniz!

Join us as we go live at #FlutterEngage Turkey! Tune in to hear #FlutterEngage announcements in Turkish! Catch @Fitzface from the #Flutter team at the Q&A.

๐Ÿ“บ → https://t.co/pUajNti0S6 pic.twitter.com/jDyPHeywV1โ€” Flutter (@FlutterDev) March 5, 2021

March 05, 2021 at 09:00AM
http://twitter.com/FlutterDev/status/1367746708445270018
New post on /r/flutterdev subreddit:

Flutter web network image problems.
Hi Everyone,I've started to move our app onto web as of Flutter 2.0. And so far everything has gone really smoothly, except with network images.I can't display any of my Image.network as normal. I keep getting this error:ImageCodecException: Failed to load network image.Does anyone know of any solutions for this problem?Thanks in advance!

March 05, 2021 at 10:16AM by MentalMarzipan5
https://ift.tt/3ec595R