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

插件详情v3.0.2

filepicker_windows

适用于 Windows 的文件和目录选择器,使用通用对话框控件。

Windows
近 30 天下载
2920
喜欢数
120
Pub 分数
160

安装插件

flutter pub add filepicker_windows

插件介绍

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

一个适用于 Windows 的 Flutter 包,使用原生 Windows 常用对话框控件提供文件和目录选择功能。它可实现与操作系统文件浏览界面的无缝集成,确保用户获得熟悉的体验。该包专为 Windows 平台设计,利用 Win32 API 实现可靠且高效的文件选择。支持单个文件和目录的选择,非常适合需要文件输入的桌面应用程序。

适合场景

  • 在桌面应用程序中选择文件
  • 选择数据存储的目录
  • 在 Windows 应用中集成原生文件对话框
  • 在仅限 Windows 的 Flutter 项目中处理文件输入
  • 从本地 Windows 存储启用文件上传

主要特点

  • 使用原生 Windows 对话框控件
  • 支持文件和目录选择
  • 针对 Windows 平台优化
  • 使用 Flutter pub add 的最小设置
  • 利用 Win32 API 提高可靠性

适合对象

  • Windows 桌面 Flutter 开发人员
  • Windows 上需要原生文件选择器的应用
  • 项目需要最少的跨平台复杂性
  • 针对 Windows 特定工作流程的开发者
  • 具有文件输入要求的应用程序

使用建议

  • 仅限 Windows 平台
  • 需要 Win32 API 访问
  • 不支持 macOS 或 Linux
  • 依赖外部 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.

所属分类

依赖

依赖清单 3 项

  • ffi^2.1.4
  • ffi_leak_tracker^0.1.1
  • win32^6.0.0

源码仓库

使用此插件的项目