better_open_file 3.6.1 better_open_file: ^3.6.1 copied to clipboard
This is a fork from a plug-in that can call native APP to open files with string result in flutter, support iOS(UTI) / android(intent) / PC(ffi) / web(dart:html)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add better_open_file
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
better_open_file: ^3.6.1
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:better_open_file/better_open_file.dart';