flutter_platform_widgets
flutter_platform_widgets copied to clipboard
Native macOS and windows widgets
There are now packages to provide native style controls for macOS and Windows.
https://pub.dev/packages/macos_ui
https://pub.dev/packages/fluent_ui
It would be great if your package gave desktop native versions of switches, buttons, alert dialogs etc on those platforms too where possible rather than Material/Cupertino. It feels like a natural enhancement for your excellent package.
I have explored a way to do this without having a dependency on these packages. One of the tenants of this library is that it will not have any transitive dependencies or rely on 3rd party packages.
So to achieve this I have incorporated a custom widget builder pattern into each PlatformWidget
which offloads the rendering outside of the library.
This is still a very much WIP but it would be possible to create a flutter_platform_widgets_macosui
and flutter_platform_widgets_fluentui
package that does depend on these 3rd Party libs and with this library as the interface.
With the v2.0 refresh I am working on documenting on how to do this, however I cannot commit to building the implementation of these new platform widget packages.
@aqwert Any progress on this? any help needed?
It would be great if this new custom widget builder would work with libadwaita as well so we can cover the Windows/Linux/MacOs trio