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).
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.