Search packages, repositories and app categories

Package detailsv6.4.0

win32

Call common Windows APIs directly from Dart using FFI.

Windows
30-day downloads
11.6M
Likes
958
Pub points
160

Install package

flutter pub add win32

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The win32 package enables Dart applications to directly call common Windows APIs using Foreign Function Interface (FFI). It provides a low-level, efficient way to interact with the Windows operating system, allowing access to system functions such as registry operations, file management, and window handling. Designed for desktop development on Windows, it bridges Dart with native Windows functionality without requiring platform-specific code. The package is ideal for developers building high-performance, system-integrated desktop apps.

Use cases

  • Accessing Windows registry
  • Managing system files and directories
  • Interacting with Windows UI components
  • Integrating with Windows services
  • Performing system-level operations

Key features

  • Direct FFI access to Windows APIs
  • Minimal overhead and high performance
  • Comprehensive Windows API bindings
  • Easy integration with Flutter desktop apps
  • Regularly updated with new Windows features

Suitable for

  • Desktop app developers targeting Windows
  • Apps needing system-level access
  • High-performance Windows integrations
  • Developers using Flutter for Windows
  • Projects requiring native Windows functionality

Considerations

  • Windows-only platform support
  • Requires understanding of FFI and C-style APIs
  • Potential security risks with system access
  • Limited documentation compared to higher-level packages
  • Not suitable for cross-platform desktop apps

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

ci codecov GitHub stars Language: Dart License: BSD-3-Clause

This monorepo contains the win32 family of Dart packages – everything you need to build Windows-native applications in Dart and Flutter. The packages range from low-level Win32 and COM API bindings to modern, type-safe APIs for everyday Windows features like the Registry, Clipboard, gamepads, and more.

📦 Packages

Package Description Pub Issues
ffi_leak_tracker Allocation tracking and leak detection for Dart FFI code pub issues
filepicker_windows File and directory picker for Windows that uses common dialog controls pub issues
win32 Call common Windows APIs directly from Dart using FFI pub issues
win32_clipboard A modern, type-safe Dart API for accessing and managing the Windows Clipboard pub issues
win32_gamepad A modern, type-safe Dart API for accessing gamepads connected to a Windows machine pub issues
win32_registry A modern, type-safe Dart API for accessing and managing the Windows Registry pub issues
win32_runner A Dart runner for Flutter Windows apps — no C++ compiler required pub issues
winmd Inspect and generate Windows Metadata (.winmd) files based on the ECMA-335 standard pub issues
Internal Packages
Package Description Issues
generator Generates Win32 and COM API projections from Windows Metadata issues

🐞 Features and Bugs

If you encounter bugs or need additional functionality, please file an issue.

Categories

Dependencies

Dependency list 3 items

  • ffi^2.1.4
  • ffi_leak_tracker^0.1.1
  • meta^1.17.0

Source repository

Projects using this package

Rankings