Live data from Hacker News

Ready for Production Apps: Flutter Beta 3

developers.googleblog.com

101–107 of 107 posts

Re: Ready for Production Apps: Flutter Beta 3

#101

Anyone else wants them to release flutter for desktop so that we can replace electron?! Someone at Google please make this a possibility!

Something like https://github.com/google/flutter-desktop-embedding ?

Yes!! This is a great start! They have a gold mine in their hands. I hope they understand that and make it a possibility!

Re: Ready for Production Apps: Flutter Beta 3

#102
Blockchain is a distributed, immutable ledger or database that stores records, known as blocks. Blocks can store various kinds of information; in the case of bitcoin, blocks store information about financial transactions. These blocks, which collectively form a “blockchain,” are stored on various storage devices or nodes, which ensures that no single person or entity can manipulate the ledger or database without everyone else knowing. TO KNOW MORE PLEASE CHECK OUR SITE:- http://www.blockchainhelp.pro

Re: Ready for Production Apps: Flutter Beta 3

#103
Flutter is by far the best UI library I've dealt with. Its like React, but without the nasty JSX syntax. The APIs are sane and thoroughly documented. Its layout model is (by design) super simple, so it's really quick to prototype and iterate. The developer tools are top-notch: great support in IntelliJ, hot reload.

But the best thing about flutter is the rendering. It's completely consistent across platforms because it renders every pixel itself and because of this it's also really easy to draw exactly what a designer envisioned.

Re: Ready for Production Apps: Flutter Beta 3

#104
post #99
post #80

Earlier quoted context omitted.

I didn't say anything about C++ libraries, at least in case of my dream thing. The problem with Qt is that it draws its own widgets. It is close on some platforms like with Gtk+ theme, but most people report how it does not look native on their platform. Also on Android it has to use JNI and NDK so it's not native to Android as DEX/Java is. On Windows I believe that CLR or at least COM (you can do it even C, but that…

I see the limitation.. but I must be missing some subtle distinction b/c isn't Flutter doing essentially the same thing under the hood? "The engine’s C/C++ code is compiled with Android’s NDK, and any Dart code is AOT-compiled into native code. The app runs using the native instruction set (no interpreter is involved)." "The engine’s C/C++ code is compiled with LLVM, and any Dart code is AOT-compiled into native code…

It does the same thing, that's why my dream is not fulfilled by Dart. Or may even have worse accessibility, but I don't know.

If it would be compiled to DEX (native for Android APIs) or JVM (compilable to DEX) byte code it would be different. It would at least enable use of it to make such a dream.

Re: Ready for Production Apps: Flutter Beta 3

#105
post #104
post #99

Earlier quoted context omitted.

I see the limitation.. but I must be missing some subtle distinction b/c isn't Flutter doing essentially the same thing under the hood? "The engine’s C/C++ code is compiled with Android’s NDK, and any Dart code is AOT-compiled into native code. The app runs using the native instruction set (no interpreter is involved)." "The engine’s C/C++ code is compiled with LLVM, and any Dart code is AOT-compiled into native code…

It does the same thing, that's why my dream is not fulfilled by Dart. Or may even have worse accessibility, but I don't know. If it would be compiled to DEX (native for Android APIs) or JVM (compilable to DEX) byte code it would be different. It would at least enable use of it to make such a dream.

I posted this earlier, I think accessibility was a requirement for an internal google flutter app, have you had a chance to look at https://flutter.io/accessibility/

Re: Ready for Production Apps: Flutter Beta 3

#106
post #87
post #25

Earlier quoted context omitted.

I love Flutter, and how it looks, but while I was at the Google I/O Extended I was given an Android Things Kit. That specific version of the kit did not had GPU, and later (at home) when I tried Flutter - it was running very slow, while other android apps were manageable. Then again, this is more of an outlier (today) with the GPU present almost on any mobile device, but still something to know about (e.g. flutter wo…

that's an interesting point. wonder how bad it is for battery since it takes away the cpu/gpu decision from the OS

A GPU is possibly more energy efficient given a much more complex scene, animation, effects, etc. than what you would draw with CPU, and much faster. But in case there is no GPU, one must definitely go without any complexities, heavy draw calls, etc. Kind of obvious, but may get forgotten. I certainly don't know what's best in this case, unless I have some time on my own to experiment and see. One reason custom, but fixed hardware tends to get better software over the time, is that developers learn how to use it best (for example: game consoles/systems/arcades, classic computers... whether they have GPU, or not (in the distant past)).

Re: Ready for Production Apps: Flutter Beta 3

#107
post #69

Does flutter have a canvas yet? Whats the story for making arbitrary custom components, like a draggable rectangle that can be moved around a grid?

"A widget that provides a canvas on which to draw during the paint phase."

https://docs.flutter.io/flutter/widgets/CustomPaint-class.ht...

Edit: All of the built-in framework widgets are written in Dart and rendered via canvas-like draw calls at the lowest layer (See dart:ui). Since the widgets are available under a liberal open source license you can fork them and customise them however you like.

Post reply on HN