FLUTTER ECOSYSTEM

path_provider_foundation

iOS and macOS implementation of the path_provider plugin

Latest version
2.6.0
30-day downloads
5.4M
Likes
8
Pub points
160

Package Overview

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

Overview

The path_provider_foundation package provides iOS and macOS-specific implementations for accessing standard file system directories such as documents, caches, and temporary folders. It is part of the Flutter ecosystem's path_provider plugin, offering consistent and platform-appropriate paths across iOS and macOS. This package enables Flutter apps to reliably store and retrieve files in designated directories without hardcoding paths. It supports both local file operations and integration with native file systems on Apple platforms.

Use cases
  • Accessing app-specific document directories
  • Storing cached data securely
  • Managing temporary files on iOS and macOS
  • Persisting user data across app restarts
  • Integrating with native file system APIs
Key features
  • Platform-specific path resolution
  • Support for iOS and macOS
  • Consistent API with path_provider
  • Secure default directory access
  • Minimal configuration required
Suitable for
  • Flutter apps targeting iOS and macOS
  • File storage needs in native-like environments
  • Apps requiring reliable local file paths
  • Developers using path_provider on Apple platforms
  • Projects needing cross-platform file path consistency
Considerations
  • Only available on iOS and macOS
  • Requires no additional setup beyond pub add
  • Not compatible with Android or web
  • Depends on the main path_provider package
  • Limited to file system root paths on Apple platforms
Supported platformsiOSmacOS

Install package

flutter pub add path_provider_foundation

Categories

Source repository

Related projects