path_manager_platform_interface 0.9.0
path_manager_platform_interface: ^0.9.0 copied to clipboard
A common platform interface for the path_manager plugin.
path_manager_platform_interface #
A common platform interface for the path_manager plugin.
This package defines the core contract, storage categories, and exceptions that platform implementations must implement.
Usage #
To implement a new platform for path_manager, extend PlatformPathManager:
class MyPlatformPathManager extends PlatformPathManager {
static void registerWith() {
PlatformPathManager.instance = MyPlatformPathManager();
}
@override
Future<String?> getTemporaryPath() async {
// Platform-specific resolution
}
}