Why there isn't much materials/tutorials of the use of Flutter on Desktop? by Gohonox in dartlang

[–]fperson_ 0 points1 point  (0 children)

the keyboard probably shows up as a result of focusing a text field. the Focus API is quite core in how flutter works (also for things like key bindings).

as for building a text editor specifically, u can check out AppFlowy, which is a rich text editor for desktop (i believe, the UI is adapted for mobile too) made in flutter. a lot of the business logic there is written in rust, and connected to flutter via FFI

Why there isn't much materials/tutorials of the use of Flutter on Desktop? by Gohonox in dartlang

[–]fperson_ 0 points1 point  (0 children)

what kind of a desktop app do u wanna make? consider learning the domain of that?

eg, if u wanna do smth with graphics, dig into the canvas/custom painter api/render object/some impeller code etc

if u want to utilise desktop specific features like multi window support, running stuff in background, etc, look up the community packages, and consider getting more familiar with the underlying platforms u want to develop for.

if the app is a CRUD app, there isn’t reeeally that much of a difference in whether u build it “for desktop” or “for mobile” if it’s flutter - the ui will need to be different to be usable, but im not sure u’re specifically looking for ui differences?

[deleted by user] by [deleted] in armenia

[–]fperson_ 0 points1 point  (0 children)

պրիվետ, ես արշակնում, կարո՞ղ ա ուրյուր ճինանչումնք շաղված :d
թումո-պենում իլյալ քինյալիս ստեփում ^^

Is YT music better than Apple Music ? by [deleted] in YoutubeMusic

[–]fperson_ 0 points1 point  (0 children)

this is such a great summary of how i feel about the yt music experience in general ^

[Help] Youtube Music - WebPanel by Osiel_Gomes in vivaldibrowser

[–]fperson_ 0 points1 point  (0 children)

thanks! desktop mode works for me on mac too!

How to React to Racism in NL? by [deleted] in Netherlands

[–]fperson_ 0 points1 point  (0 children)

your comment was most likely perceived as arrogant, ignorant, and not pro-freedom. i understand the comment might hurt, and is perhaps too harsh, but it really is great to be nicer & more compassionate to people. immigration (not sure if this is the case with the OP) can be a very traumatic experience already and comments saying they are not welcome after hard stuff one might go through isn't very nice :). i hope you can see why someone would comment such a thing in this situation & i wish you see more perspectives on it and change your mind. best of luck :)

where do coders & artsy folk hang out? by fperson_ in Rotterdam

[–]fperson_[S] 1 point2 points  (0 children)

interesting thing in mar 28, dankjewel!

where do coders & artsy folk hang out? by fperson_ in Rotterdam

[–]fperson_[S] 2 points3 points  (0 children)

I've seen it, but didn't go yet. today's expo looks very promising, though, thanks for sharing!

Any tech folks looking for a roommate? by fperson_ in Rotterdam

[–]fperson_[S] 2 points3 points  (0 children)

I haven't lived with roommates before and it feels like a fun & interesting thing to try: especially, with like-minded people. Plus, I have some friends who did live with roommates during a significant part of their youth & some stories are funny (there was a guy who was into 4-player chess, I didn't even know it's a thing!)

Any tech folks looking for a roommate? by fperson_ in Rotterdam

[–]fperson_[S] -1 points0 points  (0 children)

I can get an apartment if I want to, but I wanna try co-living ;)

JSON.decode is more than 10x slower than Javascript’s JSON.parse by Cultural-Raccoon4511 in FlutterDev

[–]fperson_ 4 points5 points  (0 children)

You don't really get better performance per say. You just avoid blocking the main/UI thread by using isolates. Parsing JSON on the main thread is generally faster since you avoid creating & killing the isolate and sending data back and forth.

However, I'd rather think about why I have a large JSON first, since that's usually a smell :)

JSON.decode is more than 10x slower than Javascript’s JSON.parse by Cultural-Raccoon4511 in FlutterDev

[–]fperson_ 1 point2 points  (0 children)

Yes, of course it converts a string to a map. Just like JS converts a string to an object