-
Notifications
You must be signed in to change notification settings - Fork 55
/
pubspec.yaml
64 lines (59 loc) · 1.67 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: pdfrx
description: pdfrx is a rich and fast PDF viewer implementation built on the top of PDFium. The plugin supports Android, iOS, Windows, macOS, Linux, and Web.
version: 1.0.90
homepage: https://github.com/espresso3389/pdfrx
environment:
sdk: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"
dependencies:
collection: '>=1.18.0 <1.20.0'
crypto: ^3.0.6
ffi: ^2.1.3
flutter:
sdk: flutter
http: ^1.2.2
path: ^1.9.0
path_provider: ^2.1.5
rxdart: '>=0.27.0 <0.29.0'
synchronized: ^3.1.0
url_launcher: ^6.3.1
vector_math: ^2.1.4
web: '>=0.5.1 <1.2.0'
dev_dependencies:
ffigen: ^15.0.0
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
archive: ^3.6.1
flutter:
plugin:
platforms:
android:
ffiPlugin: true
ios:
ffiPlugin: true
sharedDarwinSource: true
linux:
ffiPlugin: true
macos:
ffiPlugin: true
sharedDarwinSource: true
windows:
ffiPlugin: true
# dart run ffigen
ffigen:
output:
bindings: "lib/src/pdfium/pdfium_bindings.dart"
headers:
entry-points:
- "example/viewer/build/windows/x64/.lib/latest/include/fpdfview.h"
- "example/viewer/build/windows/x64/.lib/latest/include/fpdf_annot.h"
- "example/viewer/build/windows/x64/.lib/latest/include/fpdf_text.h"
- "example/viewer/build/windows/x64/.lib/latest/include/fpdf_doc.h"
- "example/viewer/build/windows/x64/.lib/latest/include/fpdf_edit.h"
- "example/viewer/build/windows/x64/.lib/latest/include/fpdf_formfill.h"
include-directives:
- "example/viewer/build/windows/x64/.lib/latest/include/**"
preamble: |
// ignore_for_file: unused_field
name: "pdfium"