Live data from Hacker News

Flutter for Linux

snapcraft.io

151–160 of 225 posts

Re: Flutter for Linux

#151

Earlier quoted context omitted.

> using the canvas for rendering content This sounds like Flash all over again. Let me guess - no native text select, copy & paste supported? Scrolling is "wrong" in a subtle way?

We haven't reached perfection yet (that's why we're still in beta), but our goal is to be _very_ different to Flash in these kinds of areas. Here's an example of text fields: https://gallery.flutter.dev/#/demo/text-field Right-click and you have access to the browser context menu; choose Inspect and you can see a or control.

https://gallery.flutter.dev/#/fortnightly

Basic features like selecting the text doesn't work.

Re: Flutter for Linux

#152

Does Flutter have a native HTML widget yet? It didn't when I first started poking around with Flutter, and a quick Google doesn't reveal anything first-party.

You do have Webviews but it's stil in an alpha state right now, they have poor keyboard support, no multiple tab support and are not available on anything else than Android & iOS.

Re: Flutter for Linux

#153
I'm a huge fan of Flutter for a number of reasons, but I just tried the demo app Flokk and it doesn't work at all on vanilla Ubuntu 20.04 running Wayland. They actually had this working over a year ago on desktop, not sure how such a massive regression like this made it through.

Re: Flutter for Linux

#154
post #136
post #110

Earlier quoted context omitted.

GUADEC Rust meetings and the GStreamer improvements show another picture.

No, the picture is exactly what I just described—that those contributors are using Rust.

So unless GStreamer isn't a part of Gnome, Gnome is indeed using Rust as well.

Re: Flutter for Linux

#156
post #15

I'm actually a great fan of flutter and imo it is the best cross-platform solution out there. Probably except for web: though it produces very good result performance-wise, the end result is never really "web" and doesn't act like traditional web. As for desktop applications(whether it be windows, linux or mac), it seems like it's too mobile-oriented. I see great potential for simple solutions like self-service opera…

What I found ironical with flutter was, besides everything being a 'widget' in flutter it doesn't actually support creation of android widgets or iOS widgets[1].

And that I'm worried that Google might just pull the plug as I feel the community is not in the position to continue development without Google's involvement unlike React Native.

Also, I'm not entirely sure about the future of Dart language now that we have TypeScript. Overall I feel flutter to be a risky investment, I personally would rather develop PWA in-spite of Apple's explicit hurdles(which I think may change after couple of anti-trust litigations).

[1]https://github.com/flutter/flutter/issues/26134

Re: Flutter for Linux

#157
post #82
post #53

Earlier quoted context omitted.

> FFI is quite a PITA This is what made me nope out of it last time I experimented with a Flutter module in my app. I'm still watching it closely though as it could be a great fit for other projects.

This might be outdated opinion (hard to tell without OP explaining what he finds "a PITA"). dart:ffi ( https://dart.dev/guides/libraries/c-interop ) is a recent addition to Dart and from where I stand it's a decent FFI system. Maybe not as good as PInvoke in C# or ffi in luajit but better than, say, jni in Java (and any other FFI system that requires you to write glue code in C i.e. python, ruby, nodejs).

good thing to have in an FFI system is ability from one language to call another from callback, and back and forth (if it need to). I believe Dart allows for that. That to be said, stack walking is going to be painful to decode (probably), best I've seen is C#/C++ on Windows - where it flows naturally from one to another.

Re: Flutter for Linux

#158

Earlier quoted context omitted.

> using the canvas for rendering content This sounds like Flash all over again. Let me guess - no native text select, copy & paste supported? Scrolling is "wrong" in a subtle way?

We haven't reached perfection yet (that's why we're still in beta), but our goal is to be _very_ different to Flash in these kinds of areas. Here's an example of text fields: https://gallery.flutter.dev/#/demo/text-field Right-click and you have access to the browser context menu; choose Inspect and you can see a or control.

The gallery apps don't even support the browser back button after going into a detail page. I guess this is still alpha stuff presently.

Re: Flutter for Linux

#159

Really wish Dart was more useful for server development. There’s a lot of missing packages that no one seems to be interested in writing right now though.

That's normal for Google APIs. Only interesting stuff gets done. Boring problems stick around forever, wasting millions of user engineer hours.

Examples:

- Chain.capture() not working in tests https://github.com/dart-lang/stack_trace/issues/50

- Document exceptions thrown https://github.com/dart-lang/http/issues/245

- It's difficult to find content using normal browser find https://github.com/dart-lang/dartdoc/issues/2131

- SecurityContext.setTrustedCertificatesBytes fails with BAD_PKCS12_DATA https://github.com/flutter/flutter/issues/39190

- Add remote port information to Socket errors (2013!) https://github.com/dart-lang/sdk/issues/12693

- setTrustedCertificates doesn't work. Causes HandshakeException all the time https://github.com/dart-lang/sdk/issues/35462

- badCertificateCallback is called with issuer certificate instead of leaf certificate for LetsEncrypt published certificate https://github.com/dart-lang/sdk/issues/39425

- No way to preload Image from assets before first builder (needed for smooth splash screen with images) https://github.com/flutter/flutter/issues/26127

- Provide function to get the current system timezone name https://github.com/dart-lang/sdk/issues/21758

- Create an easy and consistent Exception base class https://github.com/dart-lang/sdk/issues/2909

- Google please provide a Location module https://github.com/flutter/flutter/issues/31453

- Widgets inserted in MaterialApp Navigator Overlay don't get theme https://github.com/flutter/flutter/issues/39379

- [firebase_messaging] PHONE_REGISTRATION_ERROR on Android API 18 with Google APIs https://github.com/FirebaseExtended/flutterfire/issues/1471

- Use layer style for colors in Design Kit for Sketch https://github.com/material-components/material-components/i...

Re: Flutter for Linux

#160
post #151

Earlier quoted context omitted.

We haven't reached perfection yet (that's why we're still in beta), but our goal is to be _very_ different to Flash in these kinds of areas. Here's an example of text fields: https://gallery.flutter.dev/#/demo/text-field Right-click and you have access to the browser context menu; choose Inspect and you can see a or control.

https://gallery.flutter.dev/#/fortnightly Basic features like selecting the text doesn't work.

"Flutter allows content providers to protect their IP by not allowing text theft out of the box"
Post reply on HN