FLUTTER ECOSYSTEM

open_dir

Plugin for opening native directory on desktop platforms by given path.

Latest version
0.0.2+1
30-day downloads
26
Likes
28
Pub points
150

Package Overview

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

Overview

The open_dir package is a Flutter plugin that enables opening native directories on desktop platforms (macOS, Windows, Linux) using a specified file path. It integrates with the operating system's default file explorer to navigate directly to the provided directory, enhancing user experience in file management workflows. The plugin is lightweight and designed specifically for desktop applications where users need quick access to file locations. It requires no additional configuration beyond adding it to the project via pub.

Use cases
  • Opening a folder from within a Flutter app
  • Navigating to a file location in the OS file explorer
  • Improving file management UX in desktop apps
  • Quickly accessing project directories from an IDE-like interface
  • Supporting file export or save location feedback
Key features
  • Cross-platform desktop support (macOS, Windows, Linux)
  • Simple API to open directories by path
  • Native integration with OS file explorer
  • Lightweight and minimal dependencies
  • No runtime permissions required
Suitable for
  • Desktop-only Flutter applications
  • File management tools
  • IDE or code editor extensions
  • Development utilities
  • Apps requiring direct folder navigation
Considerations
  • Only works on desktop platforms
  • Does not support mobile platforms
  • Requires valid file paths to function
  • No error handling for invalid paths in current implementation
  • Limited to opening directories, not files
Supported platformsmacOSWindowsLinux

Install package

flutter pub add open_dir

Categories

Dependencies

Dependency list 4 items
  • open_dir_linux^0.0.2
  • open_dir_macos^0.0.2
  • open_dir_platform_interface^0.0.2
  • open_dir_windows^0.0.2

Related projects