power_file_viewer_v2 1.0.1
power_file_viewer_v2: ^1.0.1 copied to clipboard
A powerful file view widget, support a variety of file types, such as Doc Eexcl PPT TXT PDF and so on, Android is implemented by Tencent X5, iOS is implemented by WKWebView.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add power_file_viewer_v2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
power_file_viewer_v2: ^1.0.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:power_file_viewer_v2/power_file_view.dart';