talira

win32 (Dart)

Call Windows Win32 and COM APIs directly from Dart and Flutter through FFI

open sourceBSD-3-Clausefree

package:win32 exposes a curated surface of the Win32 and COM APIs to Dart through FFI, for functionality that dart:io, Flutter plugins and platform channels don't offer. Flutter apps on Windows use it for system settings, hardware devices, registry data and native dialogs, cross-platform packages use it for their Windows backend, and command-line tools and background services use it for native file, process and security APIs. It's a Flutter Favorite, and its monorepo also holds higher-level packages for the Registry, Clipboard, gamepads, file pickers and a Windows runner for Flutter apps.

Problems it solves

  • call a Windows API from my Flutter desktop app
  • read the Windows registry from Dart
  • write the Windows backend of a cross-platform Dart package

Features

  • Win32 and COM API bindings through Dart FFI
  • works in Flutter apps and command-line Dart tools
  • companion packages for the Registry, Clipboard, gamepads and file pickers
  • a Flutter Favorite package

Alternatives

The same job

These do what win32 (Dart) does.

  1. dbus (Dart) A native Dart client for the D-Bus message bus

Compare win32 (Dart) with the top 3