file_open_handler 0.0.2 copy "file_open_handler: ^0.0.2" to clipboard
file_open_handler: ^0.0.2 copied to clipboard

PlatformmacOS

This plugin for macOS allows Flutter apps to handle dropped files on app icon and 'open -a app file'.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add file_open_handler

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  file_open_handler: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:file_open_handler/file_open_handler.dart';
2
likes
140
pub points
49%
popularity

Publisher

verified publisherschilken.de

This plugin for macOS allows Flutter apps to handle dropped files on app icon and 'open -a app file'.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on file_open_handler