macos_file_open_handler library

Public API for receiving files opened through macOS.

Classes

MacosFileOpenHandler
Receives files opened through Finder, Dock drops, or open -a on macOS.
MacosFileOpenSubscription
A cancellable file-open listener.
MacosOpenedFile
A file passed to the application by macOS.

Typedefs

MacosFileOpenCallback = Future<void> Function(List<MacosOpenedFile> files)
Handles a batch of files opened through macOS.
MacosFileOpenErrorCallback = void Function(Object error, StackTrace stackTrace)
Receives callback, event-stream, decoding, and native-release errors.