News for hackers. Stuff that matters.
Re:Using Flutter to build a native-looking desktop app for m... by gizdan on Wednesday November 10, 2021 @09:39AM (#29175079)
> I like flutter and would definitely pick it if I had to make a mobile app, but if you have to write a conditional at every step to pick the right component for each platform

Looking at the examples given, perhaps it would be relatively trivial to wrap both these libraries into a single one where the library does the if statements for you.

Re:Using Flutter to build a native-looking desktop app for m... by whiplashoo on Wednesday November 10, 2021 @09:43AM (#29175114)
Yes, that's certainly possible. It is also done for iOS and Android (Cupertino and Material) by another package: https://github.com/stryder-dev/flutter_platform_widgets

It indeed can be extended to do a similar job for macOS and Windows (or Linux).