News for hackers. Stuff that matters.
Re:Using Flutter to build a native-looking desktop app for m... by anaisbetts on Wednesday November 10, 2021 @07:20AM (#29173860)
You write components at the lowest levels with the if/then, or maybe at the page level if the pages are completely different, but many of your UIs are going to share the same code.
Re:Using Flutter to build a native-looking desktop app for m... by moring on Wednesday November 10, 2021 @08:59AM (#29174674)
I think you would end up writing applications that look native, but not behave in a native way at all. We have a lot of those already. Just some thoughts:

- for an application that modifies files (e.g. a text editor), are changes applied to the file immediately or is there a separate "save" action? Platforms differ on this. Basically your internal data handling becomes platform-dependent.

- define a set of keyboard shortcuts that is consistent and intuitive, but plays well with the platform's shortcuts. You'll basically define a separate set of shortcuts per platform.

- whenever functionality overlaps with existing native applications, cooperate with them instead of duplicating their functionality (especially in an incompatible way)