FLUTTER ECOSYSTEM

NetShareOSS/open_dir

用於在桌面平台開啟原生資料夾的 Flutter 外掛程式。

開啟目錄 專案封面
Stars
9
Forks
1
最近推送(UTC)
2024年10月31日
專案狀態
未封存
NetShareOSS GitHub avatar
GITHUB Organization

NetShareOSS ↗

Vietnam
語言C++CMakeDartCSwiftRuby

技術主題

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

open_dir

Open directory on the native desktop platform with its app (Finder on MacOS, Files on Linux, File Explorer on Windows)

Twitter URL

Supported platforms
MacOS Linux Windows Android iOS Web
✔️ ✔️ ✔️ ❌️️ ❌️️ ❌️️
Usage

Add open_dir as a dependency in your pubspec.yaml file. This is Endorsed federated plugin.

This plugin is also supported to highlight/select a specific file after opening the directory.

Example
final _openDirPlugin = OpenDir();
final path = '/path/to/directory';
final highlightedFileName = 'file.txt';
await _openDirPlugin.openNativeDir(path: path, highlightedFileName: highlightedFileName);
Demo
Open dir Open dir and highlight file