zuraffa_file_picker_platform_interface 1.0.0
zuraffa_file_picker_platform_interface: ^1.0.0 copied to clipboard
The platform interface contract for zuraffa_file_picker: the MethodChannel protocol and the FilePickerPort bridge platform implementations conform to.
1.0.0 #
- First published release: typed file picking for the Zuraffa ecosystem, built on zuraffa ^6.2.2.
- Pure-Dart
FilePickerPort(pickFiles/saveFile/pickDirectory) with a scripted in-memory default adapter so picker flows test without a platform; dismissal is an empty result / null path, never an exception. FilePickerServicefacade (typedmissing_allowed_extensionserror),PickFilesUseCase(Zuraffa use case with cancellation), and aregisterFilePickerDependencies(GetIt)composition root with a platform port factory wired by the adapters at startup.- Zorphy
PickedFileentity (copyWith, equality, JSON). - Federated platform adapters:
zuraffa_file_picker_android(Storage Access Framework, cached copies for readable paths),zuraffa_file_picker_ios(UIDocumentPickerViewController, iOS 14+),zuraffa_file_picker_macos(NSOpenPanel / NSSavePanel, macOS 11+).
Changelog #
0.1.0 #
- Initial release.
FilePickerWirevocabulary (method names, request keys, file descriptor keys) shared by every platform plugin.ZuraffaFilePickerPlatformplatform interface with a safe dismissed-by-default fallback instance.MethodChannelZuraffaFilePickerclient andMethodChannelFilePickerAdapterbridging onto the pure-DartFilePickerPort(dismissal → empty result; malformed descriptor fields degrade to safe defaults).