A family of packages that provide an idiomatic Dart projection of modern Windows Runtime (WinRT) APIs using FFI.
☠☠ Warning: These packages are highly experimental. ☠☠
For official documentation, please visit https://win32.pub/docs/category/winrt-programming.
With these packages, you can build apps that directly call the WinRT APIs from Dart using Dart FFI.
For example, you can use them to:
-
Retrieve geolocation coordinates:
-
Access power information:
-
Access battery information:
-
Format phone numbers:
-
Send push notifications:
-
Show a modern message dialog:
-
Recognize texts from images using OcrEngine APIs:
Each package contains several examples within its example
subdirectory,
demonstrating how to invoke various WinRT APIs.
The WinRT APIs that are projected by dartwinrt
are limited, but additional
APIs will be added based on user demand, especially if it helps facilitate the
development of new Dart packages for Windows.
If you encounter any issues or have any feature requests, please submit them through the issue tracker.
The summary WinRT API documentation comments are licensed by Microsoft under the Creative Commons Attribution 4.0 International Public License.