Live data from Hacker News

Graphical User Interface Using Flutter in Embedded Systems [pdf]

static.sched.com

161–170 of 202 posts

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#161
post #104
post #42

Earlier quoted context omitted.

(disclaimer: I work on Flutter Web) We actually use plain standard HTML and ARIA attributes for accessibility. If you don't see them, try enabling a screen reader (e.g. TalkBack on Android, VoiceOver on iOS/macOS), then you'll be able to enable accessibility in the app. If you are having problems with a11y, please file a github issue. A11y is very important to us.

How about stuff like being able to select text in the UI? I tried a couple apps in https://gallery.flutter.dev/#/ and none of the text was selectable like in web and desktop interfaces

Flutter's Text widget (which is generally the default for most devs when displaying text) doesn't allow for text selection. There's a SelectableText widget that does, though:

https://api.flutter.dev/flutter/material/SelectableText-clas...

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#162

Earlier quoted context omitted.

Adding to the list, still not clear on global state management best practices.

Best practices currently are to use Provider, or the new Riverpod (still in beta for now) once it's better. Made by the same person, Remi Rousselet.

Thanks for the tip

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#163

I also, independently, started writing an app in Flutter for fun (no experience in mobile/desktop GUI work, several years since I've worked in front-end web). I can give a list of pros/cons that probably overlaps what you've heard: Pros: - The toolkit feels fairly mature and not too hard to parse. I think there's a lot of "this class works with defaults and breaks otherwise" feeling, though the core components are ro…

Some of the drawbacks I have noticed with flutter: 1. One of the biggest problems with flutter is the IDE integration for the design aspects. In my opinion, the development experience is much worse than Xamarin, .NET/Mono, Delphi, Lazarus etc. 2. The documentation is not very good and can be quite out of date. 3. The components are mostly all UI/layout related. There aren't good components for DB integration etc. 4.…

> The components are mostly all UI/layout related

"everything is a widget"

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#164
post #5

Dart is easily my favorite programing language. It's the best parts of C# plus real dynamics. The Flutter ecosystem is already above and ahead of React Native , a big part of it is it doesn't have the baggage of npm, Babel and JavaScript. For a friend's side project I've been using Flutter Web and I couldn't be happier with it

I took a gamble selecting Flutter overreact for an outsourced app. I basically didn’t know anything about either, but it landed on flutter because at sea developers that looked a lot more familiar to us.

I’m delighted that people who seem to know what they’re talking about also continue to like it.

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#165
post #5

Dart is easily my favorite programing language. It's the best parts of C# plus real dynamics. The Flutter ecosystem is already above and ahead of React Native , a big part of it is it doesn't have the baggage of npm, Babel and JavaScript. For a friend's side project I've been using Flutter Web and I couldn't be happier with it

Mine too. It does gradual typing better than any other language I've tried.

I think this means sometimes static sometimes dynamic. but can you explain some use cases for this?

I am strongly in favor of static, coming from C.

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#166
post #5

Dart is easily my favorite programing language. It's the best parts of C# plus real dynamics. The Flutter ecosystem is already above and ahead of React Native , a big part of it is it doesn't have the baggage of npm, Babel and JavaScript. For a friend's side project I've been using Flutter Web and I couldn't be happier with it

Anyone know of a dart library for bittorrent? I've been looking for one but haven't found one yet.

I don't know really, but you can search it on pub.dev - https://pub.dev/packages?q=torrent

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#167
post #30

Somewhat of an aside, since this article is about Flutter on embedded systems where React Native isn't even a consideration but... I've used both Flutter and React Native. Hands down, Flutter is the more enjoyable experience. Everything from the language, to the toolkit, to the IDE, to the final product, is just BETTER. React Native is a bloated, hacky, slow, garbage pile by comparison.

I can't figure out flutter. I see so many rave reviews. But I personally tried it and strongly disliked it. The toolkit and Android Studio run horribly slow - like really slow. And the output is basically this generation's flash. Some of the samples I tried on their gallery are mediocre. Very slight, but noticeable sluggishness. Some are just terrible; the 2d transformations moves at like 7fps. Plus there are so many…

You should try Visual Studio Code then.

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#168

Somewhat of an aside, since this article is about Flutter on embedded systems where React Native isn't even a consideration but... I've used both Flutter and React Native. Hands down, Flutter is the more enjoyable experience. Everything from the language, to the toolkit, to the IDE, to the final product, is just BETTER. React Native is a bloated, hacky, slow, garbage pile by comparison.

I didn't like Flutter because I don't like deeply nested code, especially when you have to care about parentheses, braces, brackets and commas, and the standard indentation is only 2 spaces.

Placing trailing "," helps with making it being less nested. Try it out!

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#169

I'll be the contrarian: Is this a good business decision? Sony has recently stated that it wants to enter the automotive industry but Google is a direct competitor with Waymo and their Nest product has a pretty firm standing in the smart home appliance environment. Is it wise to basically become dependent on a large competitor for such an integral component of your next generation products? What if Google decides to…

This is just a single engineer from a company that not only makes TVs, console, but tons of other electronic (and possibly non-electronic) equipment. Inside every company, even inside every project, and every team in a any company there might be competing ideas, research and whatnot.

For example we use anywhere from good ole MFC, wxWidgets, WPF, Qt, imgui, Telerik and who knows what else...

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#170
post #155
post #104

Earlier quoted context omitted.

How about stuff like being able to select text in the UI? I tried a couple apps in https://gallery.flutter.dev/#/ and none of the text was selectable like in web and desktop interfaces

Proper links and mapping of navigation to browser history are also important for any content-focused webapp. Keyboard navigation is incomplete too (some elements like dropdowns).

I hear you. There's a link widget coming, multiple browser history models (we've only supported URL fragments, but are adding pushState, and custom URL strategies, as well as navigation API improvements). Keyboard navigation is being actively improved. Bug reports are always welcome: https://github.com/flutter/flutter/issues/new/choose
Post reply on HN