zuraffa_file_picker_platform_interface 1.0.0 copy "zuraffa_file_picker_platform_interface: ^1.0.0" to clipboard
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.
  • FilePickerService facade (typed missing_allowed_extensions error), PickFilesUseCase (Zuraffa use case with cancellation), and a registerFilePickerDependencies(GetIt) composition root with a platform port factory wired by the adapters at startup.
  • Zorphy PickedFile entity (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.
  • FilePickerWire vocabulary (method names, request keys, file descriptor keys) shared by every platform plugin.
  • ZuraffaFilePickerPlatform platform interface with a safe dismissed-by-default fallback instance.
  • MethodChannelZuraffaFilePicker client and MethodChannelFilePickerAdapter bridging onto the pure-Dart FilePickerPort (dismissal → empty result; malformed descriptor fields degrade to safe defaults).
0
likes
150
points
69
downloads

Documentation

API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

The platform interface contract for zuraffa_file_picker: the MethodChannel protocol and the FilePickerPort bridge platform implementations conform to.

Homepage
Repository (GitHub)
View/report issues

Topics

#file-picker #platform-interface #zuraffa

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, zuraffa_file_picker

More

Packages that depend on zuraffa_file_picker_platform_interface