Replies: 1 comment 4 replies
-
I'm very interested in the idea of providing a higher-level abstraction over these Win32 APIs; there are a couple of other issues relating to this, including: I've also written a couple of packages that wrap Win32 APIs in more idiomatic Dart, for example: https://github.com/timsneath/filepicker_windows A couple of questions that are probably worth considering: Who is the target audience?For Flutter at least, the ideal is that an app author can work at an even higher level abstraction: for example, they should be able to use a camera or printer with the same API whether they're building for Windows, macOS, iOS or Android. Or they should be able to persist settings on any of these platforms without knowing about specific implementation details like the Windows registry. (But perhaps these are utility classes that the camera package author would use to build the Windows implementation.) Or is the audience a Dart user who is writing a Windows-only app?
How should this be shipped?
My own instinct is that there's a lot of fun to be had here, but there's also quite a lot of work. That's why I've deferred this myself! What would you like to do here? As one of the largest contributors to this package, I'm interested in your take on some of these questions above. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I suggest opening a separate folder for winApi wrapper components.
For example, for such wrappers as:
Beta Was this translation helpful? Give feedback.
All reactions