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

cesarferreira/UIState - Clean way of representing UI state in a flutter widget
https://ift.tt/2MZyuoP

March 09, 2021 at 03:42PM by tymonn
https://ift.tt/3t4bTa5
New post on Flutter Dev Google group:

Scrolling to close a Container
I am working on a layout where when you scroll up you close the container you are scrolling on. I am getting an overflow problem when the container starts to close due to the words not fitting in their space anymore. I tried wrapping my column in a fittedbox but that seemed to cause errors

March 09, 2021 at 04:21PM by Mark Valeriani
https://ift.tt/3t18atS
New tweet from FlutterDev:

💌 Todos os Devs no Brasil estão convidados para o Flutter Engage Brasil!

Join us as we go live at #FlutterEngage Brasil! @flutterando_ will host @LeafPetersen from the @dart_lang team for a Q&A!

Let's go 👉 https://t.co/5xiZe2v1oR pic.twitter.com/IJ5xAEFNRj— Flutter (@FlutterDev) March 9, 2021

March 09, 2021 at 07:00PM
http://twitter.com/FlutterDev/status/1369347253501038595
New post on Flutter Dev Google group:

cloud messaging
When multiple messages are published using cloud messaging is there a way to not show multiple messages/icons and show just one icon. If user looks at the first one (clicks to open app and the icon goes away) and an icon may show up on subsequent messages being pushed.

March 09, 2021 at 07:58PM by prasad mokkapati
https://ift.tt/2PRVUhf
New post on /r/flutterdev subreddit:

Flutter Modular 3 is now available
https://pub.dev/packages/flutter_modularModular provides a bunch of Flutter-suiting solutions to deal with this problem, like dependency injection, routing system and the "disposable singleton" system (that is, Modular disposes the injected module automatically as it is out of scope).

March 09, 2021 at 07:40PM by bogdan_marinescu
https://ift.tt/3qCG1rG
New post on /r/flutterdev subreddit:

Let's talk about Flutter Web...
Over the weekend I've ported a small-ish survey app from React to Flutter Web. It uses firebase authentication and firestore. It has routing and handles recurring users. Lots of metadata is recorded. There's lists and grids and a bit of state. I'd say it's enough code to get a decent exposure to flutter web. Here's my impressions.This post will be a bit of a rant. So let me preface it with this: I enjoy developing with Flutter and Dart. For mobile apps, it's by far my favorite framework. I'm intrigued by Flutter Web and I want to see it succeed.
After the announcement of Flutter 2.0, and the "stable" support for web, I've already voiced my concerns: The flutter web gallery has a horrible lighthouse score and is a not at all a smooth experience. But I thought I should probably give it a fair try.Let's start with tooling. The one big selling point of flutter is stateful hot reload. This is not available in the web version. I understand that hot reloading is a feature of the dart VM, which is hard to emulate on the web. But if you look at React and Vue, they do offer some extent of hot reloading. For example, it's possible to edit the style of an App without losing it's state. And with Vue, you can get something very close to flutters stateful hot reloading.
In the end I found myself developing in an emulator and then trying the web build from time to time.
Starting the debug process (in chrome) takes incredibly long and is very buggy. A handful of times the debugger just didn't open. About three times it just randomly disconnected.
The devtools don't seem ready for the web. The widget inspector for example shows markup, instead of a visualization of the widgets. Often it's not possible to refresh it, when the content on screen changes.The bundle size is gigantic. Even hosted locally, the app takes a few seconds to load. I'm not sure to what extent this could be improved by manual optimization. I'm talking about the code produced by futter build web, not some debug version. Also, I'm using the null-safe sdk.
The lighthouse score shows absolutely crazy numbers. Something like 40s til interactive. This doesn't seem so far fetched. If I throttle the network speed in the developer tools, the app does indeed take very very long to load.The performance of the UI is a problem. Page transition animations between routes flicker and stutter. Sometimes the new route is fully loaded then you get a very short flicker of the old screen. This is not a custom animation, it's just a MaterialApp and the built-in Navigator. Sometimes the navigation to a new route takes a second to be done, sometimes it triggers immediately. Again, I'm not doing anything fancy here. It's a button that pushes a new Route to the navigator when it's clicked.
Animations in general are not smooth, for example when clicking an ElevatedButton.
To get an objective measure here, I'm using the performance tab in the Firefox devtools. I'm starting to record, then click on a button. The fps immediately drop from 60 to 9. Just from clicking a button, nothing else. The button animation stutters and flickers.
In general, performance on Firefox is much much worse than on Chrome.The "feel" of the UI is somehow off. SelectableText for example does not feel like normal text.
By far the worst part is scrolling. The speed at which a flutter web app scrolls is completely different from other apps.In the end I feel very unconvinced by flutter on the web. The UI has severe performance issues and some outright bugs.This is the flutter subreddit. So I guess the people reading this are probably flutter fans :)
Well, so am I.
I really want to use this and as soon as it becomes viable, I'll happily ditch react, preact and vue for it.
But currently it just doesn't look ready to me.
What do you think, what are your experiences?
Any tips and tricks ?

March 09, 2021 at 08:30PM by mintwurm
https://ift.tt/2OFNJUh
New post on /r/flutterdev subreddit:

Is there a Vector canvas editing package?
Something simple that would allow the user of the app to draw lines, simple shapes, and curves.

March 09, 2021 at 08:24PM by TeejStroyer27
https://ift.tt/3kYEhaI
New tweet from FlutterDev:

🥳 Join us, everyone's invited!

Missed out on #FlutterEngage? You're in luck! Tune in to #FlutterEngage North America for a recap, as well as a panel discussion with @csells and developers in North America to talk about Flutter in the region.

Watch 📺https://t.co/BOVTQtX85z pic.twitter.com/QSc7vHnMRN— Flutter (@FlutterDev) March 9, 2021

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

Project development guidance
Project development guidanceI’m trying to create an application where you can add items to sell by adding item descriptions and images and I would like to be able to display it in a products screen. I’m hoping you guys could guide me on what things I should learn to help me learn things that are mostly dedicated to my goal through some video links or even project tutorials. Thank you all for your help in advance (It’s been a month since I started using flutter)

March 09, 2021 at 09:49PM by TheQuack69
https://ift.tt/3bvvbiI
New post on /r/flutterdev subreddit:

Beamer v0.9.0 now takes care of some housekeeping for you
Some of the interesting new features are:removing duplicates in beam historyimplicit updates of current locationAny contributions and suggestions are welcome!pub.dev: https://pub.dev/packages/beamer
GitHub: https://github.com/slovnicki/beamer

March 09, 2021 at 09:08PM by llsII
https://ift.tt/3rxffSt
New post on /r/flutterdev subreddit:

Flutter 101 Podcast: Codemagic with CEO Martin Jeret
https://ift.tt/3rxKCg1

March 10, 2021 at 07:20AM by serial_dev
https://ift.tt/3etG9qP
New post on Flutter Dev Google group:

How to display data from API to flutter Multi Select Form Field
I am using this Package
New tweet from FlutterDev:

🔵 Flutter Engage in South East Asia!

Tune into #FlutterEngage South East Asia with @DevSpaceSG hosting @shihaohong from the Flutter team and developers in the region for a recap and Q&A!

Join us 👉 https://t.co/RglciFqBmv pic.twitter.com/iUgil0O5hJ— Flutter (@FlutterDev) March 10, 2021

March 10, 2021 at 09:00AM
http://twitter.com/FlutterDev/status/1369558645894184960
New post on Flutter Dev Google group:

FFI call 32bit dll throw
Hello, My Dear Friends! I'm using Dart SDK version: 2.13.0-77.0.dev (dev) (Thu Feb 25 00:41:11 2021 -0800) on "windows_x64". and try to call 32bit dll(some example similar like "https://github.com/dart-lang/samples/tree/master/ffi",but fail with "Invalid argument(s): Failed to load dynamic

March 10, 2021 at 09:41AM by tyzam tsing
https://ift.tt/30v6lcw