搜索插件、代码仓与 APP 分类

插件详情v3.0.3

win32_registry

用于访问和管理 Windows 注册表的现代、类型安全的 Dart API。

Windows
近 30 天下载
457万
喜欢数
68
Pub 分数
160

安装插件

flutter pub add win32_registry

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个现代的、类型安全的 Dart API,用于访问和管理 Windows 注册表。它提供了一个简洁直观的接口,可在 Windows 系统上读取、写入和操作注册表项和值。该 API 旨在兼顾安全性和易用性,利用 Dart 的强类型特性减少错误并提升开发体验。该包可无缝集成到面向 Windows 的 Flutter 应用程序中,无需使用原始的 C 风格调用即可实现深层次的系统级交互。它是更大的 win32 生态系统的一部分,确保了的一致性和可靠性。

适合场景

  • 访问存储在 Windows 注册表中的应用程序设置
  • 管理全局系统配置更改
  • 在应用程序启动期间读取或写入注册表值
  • 自动化 Windows 系统配置任务
  • 调试或监控注册表状态

主要特点

  • 类型安全的注册表操作
  • 简洁的、原生Dart的API设计
  • 支持读取和写入注册表项/值
  • 基于 win32 包构建,用于低级别访问
  • Windows环境内的跨平台兼容性

适合对象

  • Flutter 应用程序针对 Windows
  • 需要注册表访问权限的系统实用工具
  • 需要持久化用户或系统设置的工具
  • 寻求原始 Win32 调用的安全替代方案的开发人员

使用建议

  • 仅限 Windows 平台
  • 需要适当的系统权限以进行写入操作
  • 不适用于非 Windows 环境
  • 某些注册表路径可能需要提升权限
  • 依赖 win32 包以提供底层功能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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.

所属分类

依赖

依赖清单 5 项

源码仓库

使用此插件的项目