open_file_ohos 1.0.0
open_file_ohos: ^1.0.0 copied to clipboard
Flutter plugin enables Flutter applications to open files on supported platforms (such as OHOS) by invoking the system's default application to view or edit the file..
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add open_file_ohosThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
open_file_ohos: ^1.0.0Alternatively, 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:open_file_ohos/open_file_ohos.dart';