Warning
As of [2024-09-16], this project is officially discontinued and will no longer be maintained.
This decision was made due to the following reasons:
- Time Constraints: I am unable to dedicate the necessary time to maintain this project due to other commitments.
- Technical Limitations: The project depends on features that are not currently supported by the Dart language. While this may change in the future, especially with the introduction of Shared Memory Multithreading, it is not feasible to continue development at this time.
The repository will remain archived for historical and reference purposes. However, no further updates, bug fixes, or support will be provided.
Thank you for your understanding and for all the support throughout the project’s lifecycle.
A family of packages that provide an idiomatic Dart projection of modern Windows Runtime (WinRT) APIs using FFI.
☠☠ Warning: These packages are highly experimental. ☠☠
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.