pdf-master-landing 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/_diag.html CHANGED
@@ -1,159 +1,159 @@
1
- <!doctype html>
2
- <html lang="zh-CN">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>Flutter Web 加载路径检测</title>
6
- <style>
7
- body {
8
- font: 14px/1.6 -apple-system, system-ui, "PingFang SC", sans-serif;
9
- max-width: 760px;
10
- margin: 40px auto;
11
- padding: 0 20px;
12
- color: #15161a;
13
- }
14
- h1 { font-size: 22px; margin: 0 0 6px; }
15
- h2 { font-size: 16px; margin: 32px 0 10px; }
16
- p.lede { color: #5c6068; margin: 0 0 24px; }
17
- table { width: 100%; border-collapse: collapse; }
18
- td { padding: 10px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
19
- td:first-child { width: 240px; color: #5c6068; }
20
- td b { color: #15161a; font-weight: 600; }
21
- .yes { color: #1a7f3c; font-weight: 600; }
22
- .no { color: #b3261e; font-weight: 600; }
23
- code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: #f4f4f4; padding: 1px 6px; border-radius: 4px; }
24
- .verdict { margin-top: 24px; padding: 16px 18px; border-radius: 10px; }
25
- .verdict.wasm { background: #e8f4ec; border: 1px solid #1a7f3c; }
26
- .verdict.js { background: #fdecea; border: 1px solid #b3261e; }
27
- .verdict h2 { margin: 0 0 6px; }
28
- .net { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: #5c6068; }
29
- </style>
30
- </head>
31
- <body>
32
- <h1>Flutter Web 加载路径检测</h1>
33
- <p class="lede">这一页直接读浏览器 capability + 本次实际加载的脚本,告诉你跑的是 wasm 还是 JS fallback。</p>
34
-
35
- <h2>浏览器能力</h2>
36
- <table id="caps"></table>
37
-
38
- <h2>本次实际加载</h2>
39
- <table id="loaded"></table>
40
-
41
- <div id="verdict" class="verdict"></div>
42
-
43
- <h2>原始抓取详情</h2>
44
- <pre class="net" id="raw"></pre>
45
-
46
- <script type="module">
47
- // —— 浏览器 capability ——
48
- const wasmGcBytes = [0,97,115,109,1,0,0,0,1,5,1,95,1,120,0];
49
- const supportsWasmGC = (() => {
50
- try { return WebAssembly.validate(new Uint8Array(wasmGcBytes)); } catch { return false; }
51
- })();
52
- const c = document.createElement('canvas');
53
- const webgl2 = c.getContext('webgl2') != null;
54
- const webgl1 = !webgl2 && c.getContext('webgl') != null;
55
- const webglVersion = webgl2 ? 2 : (webgl1 ? 1 : 0);
56
- const crossOriginIsolated = window.crossOriginIsolated;
57
- const isHttps = location.protocol === 'https:' || location.hostname === 'localhost' || location.hostname === '127.0.0.1';
58
-
59
- const caps = [
60
- ['supportsWasmGC', supportsWasmGC, 'dart2wasm 必需'],
61
- ['webGLVersion', webglVersion, 'skwasm renderer 要 WebGL2,否则降到 canvaskit'],
62
- ['crossOriginIsolated', crossOriginIsolated, 'COOP+COEP 头是否生效;skwasm 多线程必需'],
63
- ['secure context', isHttps, 'HTTPS 或 localhost'],
64
- ];
65
- const capsEl = document.getElementById('caps');
66
- caps.forEach(([k, v, hint]) => {
67
- const ok = !!v && v !== 0;
68
- const row = document.createElement('tr');
69
- row.innerHTML = `<td><b>${k}</b><div style="font-size:12px;color:#888">${hint}</div></td>` +
70
- `<td><span class="${ok ? 'yes' : 'no'}">${typeof v === 'boolean' ? (v ? 'true' : 'false') : v}</span></td>`;
71
- capsEl.appendChild(row);
72
- });
73
-
74
- // —— 抓 build config ——
75
- const cfgRes = await fetch('/app/flutter_bootstrap.js', { cache: 'no-cache' });
76
- const cfgText = await cfgRes.text();
77
- const cfgMatch = cfgText.match(/_flutter\.buildConfig\s*=\s*(\{[^;]+\})/);
78
- const buildConfig = cfgMatch ? JSON.parse(cfgMatch[1]) : null;
79
- const builds = buildConfig?.builds ?? [];
80
-
81
- // —— 模拟 flutter.js 选择逻辑 ——
82
- const browserEngine = (() => {
83
- if (navigator.vendor === 'Google Inc.' || navigator.userAgent.includes('Edg/')) return 'blink';
84
- if (navigator.vendor === 'Apple Computer, Inc.') return 'webkit';
85
- if (navigator.vendor === '' && navigator.userAgent.includes('Firefox')) return 'gecko';
86
- return 'unknown';
87
- })();
88
- // flutter.js 默认 wasmAllowList: blink=true, gecko=false, webkit=false
89
- const wasmAllowed = browserEngine === 'blink';
90
-
91
- const picked = builds.find(b => {
92
- if (b.compileTarget === 'dart2wasm' && !supportsWasmGC) return false;
93
- if (b.renderer === 'skwasm' && (webglVersion === 0 || !wasmAllowed)) return false;
94
- return true;
95
- });
96
-
97
- // —— 探测实际加载(runtime 监听) ——
98
- const seen = new Set();
99
- const obs = new PerformanceObserver((entries) => {
100
- for (const e of entries.getEntries()) {
101
- if (/main\.dart\.(wasm|mjs|js)|canvaskit\.|skwasm/.test(e.name)) {
102
- seen.add(e.name.split(/[?#]/)[0].split('/').slice(-2).join('/'));
103
- }
104
- }
105
- });
106
- obs.observe({ type: 'resource', buffered: true });
107
-
108
- // 把已有的 performance entries 也吃一遍(首次进页面之前已发生的)
109
- performance.getEntriesByType('resource').forEach(e => {
110
- if (/main\.dart\.(wasm|mjs|js)|canvaskit\.|skwasm/.test(e.name)) {
111
- seen.add(e.name.split(/[?#]/)[0].split('/').slice(-2).join('/'));
112
- }
113
- });
114
-
115
- // —— 渲染结论 ——
116
- const loadedEl = document.getElementById('loaded');
117
- [
118
- ['browserEngine', browserEngine],
119
- ['build config 优先项', picked ? `${picked.compileTarget} / ${picked.renderer}` : '<无匹配>'],
120
- ['理论选中入口', picked?.mainWasmPath ?? picked?.mainJsPath ?? '-'],
121
- ].forEach(([k, v]) => {
122
- const row = document.createElement('tr');
123
- row.innerHTML = `<td><b>${k}</b></td><td>${v}</td>`;
124
- loadedEl.appendChild(row);
125
- });
126
-
127
- const verdict = document.getElementById('verdict');
128
- if (picked?.compileTarget === 'dart2wasm') {
129
- verdict.classList.add('wasm');
130
- verdict.innerHTML = `<h2>✅ 走的是 WASM 路径</h2>` +
131
- `<p>本次会加载 <code>main.dart.wasm</code> + <code>main.dart.mjs</code>,渲染器 <code>${picked.renderer}</code>。如果体感仍然慢,更可能是 Flutter 应用自身的工作量(首屏 widget 树、字体、PDF 渲染),而不是 wasm 没启用。</p>`;
132
- } else if (picked) {
133
- verdict.classList.add('js');
134
- verdict.innerHTML = `<h2>⚠️ 走的是 JS fallback (dart2js)</h2>` +
135
- `<p>本次将加载 <code>main.dart.js</code> + 渲染器 <code>${picked.renderer}</code>。原因看上方"浏览器能力"——任何一项 false 都会让 wasm 路径被淘汰。</p>` +
136
- `<ul>` +
137
- `<li>如果 <code>supportsWasmGC</code> false:浏览器版本不够新(Chrome 119+/Safari 18.2+/FF 120+)。</li>` +
138
- `<li>如果 <code>webGLVersion</code> 是 0:硬件加速被关或者驱动有问题,skwasm 用不了 → 整套 wasm 路径被砍。</li>` +
139
- `<li>如果 <code>crossOriginIsolated</code> false:服务器没配 COOP/COEP 头,skwasm 多线程会被禁。</li>` +
140
- `<li>如果 <code>browserEngine</code> 是 webkit/gecko:flutter.js 默认 wasmAllowList 只允许 blink,要打开需要 <code>config.wasmAllowList</code>。</li>` +
141
- `</ul>`;
142
- } else {
143
- verdict.classList.add('js');
144
- verdict.innerHTML = `<h2>❌ build config 里没有匹配项</h2>`;
145
- }
146
-
147
- // 等几百毫秒让 flutter_bootstrap.js 真的开始加载
148
- setTimeout(() => {
149
- const raw = document.getElementById('raw');
150
- raw.textContent = '已观测到的网络请求(资源名):\n' +
151
- Array.from(seen).sort().map(s => ' • ' + s).join('\n') +
152
- '\n\nbuildConfig:\n' + JSON.stringify(buildConfig, null, 2);
153
- }, 1500);
154
- </script>
155
-
156
- <h2>下一步</h2>
157
- <p>访问 <code>http://localhost:5180/_diag.html</code> 即可看本机当前的判定。</p>
158
- </body>
159
- </html>
1
+ <!doctype html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Flutter Web 加载路径检测</title>
6
+ <style>
7
+ body {
8
+ font: 14px/1.6 -apple-system, system-ui, "PingFang SC", sans-serif;
9
+ max-width: 760px;
10
+ margin: 40px auto;
11
+ padding: 0 20px;
12
+ color: #15161a;
13
+ }
14
+ h1 { font-size: 22px; margin: 0 0 6px; }
15
+ h2 { font-size: 16px; margin: 32px 0 10px; }
16
+ p.lede { color: #5c6068; margin: 0 0 24px; }
17
+ table { width: 100%; border-collapse: collapse; }
18
+ td { padding: 10px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
19
+ td:first-child { width: 240px; color: #5c6068; }
20
+ td b { color: #15161a; font-weight: 600; }
21
+ .yes { color: #1a7f3c; font-weight: 600; }
22
+ .no { color: #b3261e; font-weight: 600; }
23
+ code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: #f4f4f4; padding: 1px 6px; border-radius: 4px; }
24
+ .verdict { margin-top: 24px; padding: 16px 18px; border-radius: 10px; }
25
+ .verdict.wasm { background: #e8f4ec; border: 1px solid #1a7f3c; }
26
+ .verdict.js { background: #fdecea; border: 1px solid #b3261e; }
27
+ .verdict h2 { margin: 0 0 6px; }
28
+ .net { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: #5c6068; }
29
+ </style>
30
+ </head>
31
+ <body>
32
+ <h1>Flutter Web 加载路径检测</h1>
33
+ <p class="lede">这一页直接读浏览器 capability + 本次实际加载的脚本,告诉你跑的是 wasm 还是 JS fallback。</p>
34
+
35
+ <h2>浏览器能力</h2>
36
+ <table id="caps"></table>
37
+
38
+ <h2>本次实际加载</h2>
39
+ <table id="loaded"></table>
40
+
41
+ <div id="verdict" class="verdict"></div>
42
+
43
+ <h2>原始抓取详情</h2>
44
+ <pre class="net" id="raw"></pre>
45
+
46
+ <script type="module">
47
+ // —— 浏览器 capability ——
48
+ const wasmGcBytes = [0,97,115,109,1,0,0,0,1,5,1,95,1,120,0];
49
+ const supportsWasmGC = (() => {
50
+ try { return WebAssembly.validate(new Uint8Array(wasmGcBytes)); } catch { return false; }
51
+ })();
52
+ const c = document.createElement('canvas');
53
+ const webgl2 = c.getContext('webgl2') != null;
54
+ const webgl1 = !webgl2 && c.getContext('webgl') != null;
55
+ const webglVersion = webgl2 ? 2 : (webgl1 ? 1 : 0);
56
+ const crossOriginIsolated = window.crossOriginIsolated;
57
+ const isHttps = location.protocol === 'https:' || location.hostname === 'localhost' || location.hostname === '127.0.0.1';
58
+
59
+ const caps = [
60
+ ['supportsWasmGC', supportsWasmGC, 'dart2wasm 必需'],
61
+ ['webGLVersion', webglVersion, 'skwasm renderer 要 WebGL2,否则降到 canvaskit'],
62
+ ['crossOriginIsolated', crossOriginIsolated, 'COOP+COEP 头是否生效;skwasm 多线程必需'],
63
+ ['secure context', isHttps, 'HTTPS 或 localhost'],
64
+ ];
65
+ const capsEl = document.getElementById('caps');
66
+ caps.forEach(([k, v, hint]) => {
67
+ const ok = !!v && v !== 0;
68
+ const row = document.createElement('tr');
69
+ row.innerHTML = `<td><b>${k}</b><div style="font-size:12px;color:#888">${hint}</div></td>` +
70
+ `<td><span class="${ok ? 'yes' : 'no'}">${typeof v === 'boolean' ? (v ? 'true' : 'false') : v}</span></td>`;
71
+ capsEl.appendChild(row);
72
+ });
73
+
74
+ // —— 抓 build config ——
75
+ const cfgRes = await fetch('/app/flutter_bootstrap.js', { cache: 'no-cache' });
76
+ const cfgText = await cfgRes.text();
77
+ const cfgMatch = cfgText.match(/_flutter\.buildConfig\s*=\s*(\{[^;]+\})/);
78
+ const buildConfig = cfgMatch ? JSON.parse(cfgMatch[1]) : null;
79
+ const builds = buildConfig?.builds ?? [];
80
+
81
+ // —— 模拟 flutter.js 选择逻辑 ——
82
+ const browserEngine = (() => {
83
+ if (navigator.vendor === 'Google Inc.' || navigator.userAgent.includes('Edg/')) return 'blink';
84
+ if (navigator.vendor === 'Apple Computer, Inc.') return 'webkit';
85
+ if (navigator.vendor === '' && navigator.userAgent.includes('Firefox')) return 'gecko';
86
+ return 'unknown';
87
+ })();
88
+ // flutter.js 默认 wasmAllowList: blink=true, gecko=false, webkit=false
89
+ const wasmAllowed = browserEngine === 'blink';
90
+
91
+ const picked = builds.find(b => {
92
+ if (b.compileTarget === 'dart2wasm' && !supportsWasmGC) return false;
93
+ if (b.renderer === 'skwasm' && (webglVersion === 0 || !wasmAllowed)) return false;
94
+ return true;
95
+ });
96
+
97
+ // —— 探测实际加载(runtime 监听) ——
98
+ const seen = new Set();
99
+ const obs = new PerformanceObserver((entries) => {
100
+ for (const e of entries.getEntries()) {
101
+ if (/main\.dart\.(wasm|mjs|js)|canvaskit\.|skwasm/.test(e.name)) {
102
+ seen.add(e.name.split(/[?#]/)[0].split('/').slice(-2).join('/'));
103
+ }
104
+ }
105
+ });
106
+ obs.observe({ type: 'resource', buffered: true });
107
+
108
+ // 把已有的 performance entries 也吃一遍(首次进页面之前已发生的)
109
+ performance.getEntriesByType('resource').forEach(e => {
110
+ if (/main\.dart\.(wasm|mjs|js)|canvaskit\.|skwasm/.test(e.name)) {
111
+ seen.add(e.name.split(/[?#]/)[0].split('/').slice(-2).join('/'));
112
+ }
113
+ });
114
+
115
+ // —— 渲染结论 ——
116
+ const loadedEl = document.getElementById('loaded');
117
+ [
118
+ ['browserEngine', browserEngine],
119
+ ['build config 优先项', picked ? `${picked.compileTarget} / ${picked.renderer}` : '<无匹配>'],
120
+ ['理论选中入口', picked?.mainWasmPath ?? picked?.mainJsPath ?? '-'],
121
+ ].forEach(([k, v]) => {
122
+ const row = document.createElement('tr');
123
+ row.innerHTML = `<td><b>${k}</b></td><td>${v}</td>`;
124
+ loadedEl.appendChild(row);
125
+ });
126
+
127
+ const verdict = document.getElementById('verdict');
128
+ if (picked?.compileTarget === 'dart2wasm') {
129
+ verdict.classList.add('wasm');
130
+ verdict.innerHTML = `<h2>✅ 走的是 WASM 路径</h2>` +
131
+ `<p>本次会加载 <code>main.dart.wasm</code> + <code>main.dart.mjs</code>,渲染器 <code>${picked.renderer}</code>。如果体感仍然慢,更可能是 Flutter 应用自身的工作量(首屏 widget 树、字体、PDF 渲染),而不是 wasm 没启用。</p>`;
132
+ } else if (picked) {
133
+ verdict.classList.add('js');
134
+ verdict.innerHTML = `<h2>⚠️ 走的是 JS fallback (dart2js)</h2>` +
135
+ `<p>本次将加载 <code>main.dart.js</code> + 渲染器 <code>${picked.renderer}</code>。原因看上方"浏览器能力"——任何一项 false 都会让 wasm 路径被淘汰。</p>` +
136
+ `<ul>` +
137
+ `<li>如果 <code>supportsWasmGC</code> false:浏览器版本不够新(Chrome 119+/Safari 18.2+/FF 120+)。</li>` +
138
+ `<li>如果 <code>webGLVersion</code> 是 0:硬件加速被关或者驱动有问题,skwasm 用不了 → 整套 wasm 路径被砍。</li>` +
139
+ `<li>如果 <code>crossOriginIsolated</code> false:服务器没配 COOP/COEP 头,skwasm 多线程会被禁。</li>` +
140
+ `<li>如果 <code>browserEngine</code> 是 webkit/gecko:flutter.js 默认 wasmAllowList 只允许 blink,要打开需要 <code>config.wasmAllowList</code>。</li>` +
141
+ `</ul>`;
142
+ } else {
143
+ verdict.classList.add('js');
144
+ verdict.innerHTML = `<h2>❌ build config 里没有匹配项</h2>`;
145
+ }
146
+
147
+ // 等几百毫秒让 flutter_bootstrap.js 真的开始加载
148
+ setTimeout(() => {
149
+ const raw = document.getElementById('raw');
150
+ raw.textContent = '已观测到的网络请求(资源名):\n' +
151
+ Array.from(seen).sort().map(s => ' • ' + s).join('\n') +
152
+ '\n\nbuildConfig:\n' + JSON.stringify(buildConfig, null, 2);
153
+ }, 1500);
154
+ </script>
155
+
156
+ <h2>下一步</h2>
157
+ <p>访问 <code>http://localhost:5180/_diag.html</code> 即可看本机当前的判定。</p>
158
+ </body>
159
+ </html>
@@ -1 +1 @@
1
- 5b8083240414b940c62baaaf71a3e977
1
+ e4090c6e53b1b723fb4f5fcb324e14d3
@@ -1,49 +1,49 @@
1
- # Web Build Notes
2
-
3
- `web/sqlite3.wasm` 与 `web/drift_worker.dart.js` 是 drift 在 Web 端跑 SQLite 必需的两份运行时资产,
4
- **直接入库**——版本必须与 `pubspec.lock` 里 `drift` / `sqlite3` 包对齐,统一管理省事且能避免本地版本漂移。
5
-
6
- ## 升级流程
7
-
8
- 升级 `drift` 或 `sqlite3` 后,按新版本号同步替换这两个文件,**与 pubspec 改动一并 commit**:
9
-
10
- ```bash
11
- DRIFT_VERSION=$(awk '/^ drift:/,/version:/' pubspec.lock | tail -1 | tr -d ' "version:')
12
- SQLITE_VERSION=$(awk '/^ sqlite3:/,/version:/' pubspec.lock | tail -1 | tr -d ' "version:')
13
-
14
- curl -fsSL -o web/sqlite3.wasm \
15
- "https://github.com/simolus3/sqlite3.dart/releases/download/sqlite3-${SQLITE_VERSION}/sqlite3.wasm"
16
-
17
- curl -fsSL -o web/drift_worker.dart.js \
18
- "https://github.com/simolus3/drift/releases/download/drift-${DRIFT_VERSION}/drift_worker.js"
19
- ```
20
-
21
- 发布说明:
22
- - sqlite3:https://github.com/simolus3/sqlite3.dart/releases
23
- - drift:https://github.com/simolus3/drift/releases
24
-
25
- ## 浏览器要求
26
-
27
- Web 端依赖 OPFS(Origin Private File System)做物理 PDF 落盘:
28
- - Chrome / Edge ≥ 102
29
- - Firefox ≥ 111
30
- - Safari ≥ 16
31
-
32
- 低于此版本启动后第一次访问 OPFS 会抛错,文件库无法使用。
33
-
34
- ## 性能小贴士
35
-
36
- 按 drift 文档建议,给 dev server 加跨源隔离响应头能让 OPFS 走更快的 SharedArrayBuffer 路径:
37
-
38
- ```bash
39
- flutter run -d chrome \
40
- --web-header=Cross-Origin-Opener-Policy=same-origin \
41
- --web-header=Cross-Origin-Embedder-Policy=require-corp
42
- ```
43
-
44
- 不加也能跑,只是稍慢。
45
-
46
- ## 已知限制
47
-
48
- - 桌面端的 `window_manager`(窗口尺寸记忆等)在 Web 上完全跳过,由浏览器自身管理。
49
- - `PdfViewer.data` 进 reader 前要把整份 PDF 读进内存,>100MB 大文档会卡。
1
+ # Web Build Notes
2
+
3
+ `web/sqlite3.wasm` 与 `web/drift_worker.dart.js` 是 drift 在 Web 端跑 SQLite 必需的两份运行时资产,
4
+ **直接入库**——版本必须与 `pubspec.lock` 里 `drift` / `sqlite3` 包对齐,统一管理省事且能避免本地版本漂移。
5
+
6
+ ## 升级流程
7
+
8
+ 升级 `drift` 或 `sqlite3` 后,按新版本号同步替换这两个文件,**与 pubspec 改动一并 commit**:
9
+
10
+ ```bash
11
+ DRIFT_VERSION=$(awk '/^ drift:/,/version:/' pubspec.lock | tail -1 | tr -d ' "version:')
12
+ SQLITE_VERSION=$(awk '/^ sqlite3:/,/version:/' pubspec.lock | tail -1 | tr -d ' "version:')
13
+
14
+ curl -fsSL -o web/sqlite3.wasm \
15
+ "https://github.com/simolus3/sqlite3.dart/releases/download/sqlite3-${SQLITE_VERSION}/sqlite3.wasm"
16
+
17
+ curl -fsSL -o web/drift_worker.dart.js \
18
+ "https://github.com/simolus3/drift/releases/download/drift-${DRIFT_VERSION}/drift_worker.js"
19
+ ```
20
+
21
+ 发布说明:
22
+ - sqlite3:https://github.com/simolus3/sqlite3.dart/releases
23
+ - drift:https://github.com/simolus3/drift/releases
24
+
25
+ ## 浏览器要求
26
+
27
+ Web 端依赖 OPFS(Origin Private File System)做物理 PDF 落盘:
28
+ - Chrome / Edge ≥ 102
29
+ - Firefox ≥ 111
30
+ - Safari ≥ 16
31
+
32
+ 低于此版本启动后第一次访问 OPFS 会抛错,文件库无法使用。
33
+
34
+ ## 性能小贴士
35
+
36
+ 按 drift 文档建议,给 dev server 加跨源隔离响应头能让 OPFS 走更快的 SharedArrayBuffer 路径:
37
+
38
+ ```bash
39
+ flutter run -d chrome \
40
+ --web-header=Cross-Origin-Opener-Policy=same-origin \
41
+ --web-header=Cross-Origin-Embedder-Policy=require-corp
42
+ ```
43
+
44
+ 不加也能跑,只是稍慢。
45
+
46
+ ## 已知限制
47
+
48
+ - 桌面端的 `window_manager`(窗口尺寸记忆等)在 Web 上完全跳过,由浏览器自身管理。
49
+ - `PdfViewer.data` 进 reader 前要把整份 PDF 读进内存,>100MB 大文档会卡。
@@ -2206,6 +2206,8 @@ flutter_plugin_android_lifecycle
2206
2206
  image_picker_for_web
2207
2207
  image_picker_macos
2208
2208
  image_picker_platform_interface
2209
+ in_app_purchase_android
2210
+ in_app_purchase_storekit
2209
2211
  path_provider_android
2210
2212
  path_provider_foundation
2211
2213
  shared_preferences
@@ -6361,37 +6363,37 @@ shaderc
6361
6363
  flutter
6362
6364
 
6363
6365
  Copyright 2014 The Flutter Authors. All rights reserved.
6364
-
6365
- Redistribution and use in source and binary forms, with or without modification,
6366
- are permitted provided that the following conditions are met:
6367
-
6368
- * Redistributions of source code must retain the above copyright
6369
- notice, this list of conditions and the following disclaimer.
6370
- * Redistributions in binary form must reproduce the above
6371
- copyright notice, this list of conditions and the following
6372
- disclaimer in the documentation and/or other materials provided
6373
- with the distribution.
6374
- * Neither the name of Google Inc. nor the names of its
6375
- contributors may be used to endorse or promote products derived
6376
- from this software without specific prior written permission.
6377
-
6378
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
6379
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
6380
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
6381
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
6382
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
6383
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
6384
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
6385
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6386
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6387
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6388
-
6366
+ Use of this source code is governed by a BSD-style license that can be
6367
+ found in the LICENSE file.
6389
6368
  --------------------------------------------------------------------------------
6390
6369
  flutter
6391
6370
 
6392
- Copyright 2014 The Flutter Authors. All rights reserved.
6393
- Use of this source code is governed by a BSD-style license that can be
6394
- found in the LICENSE file.
6371
+ Copyright 2014 The Flutter Authors. All rights reserved.
6372
+
6373
+ Redistribution and use in source and binary forms, with or without modification,
6374
+ are permitted provided that the following conditions are met:
6375
+
6376
+ * Redistributions of source code must retain the above copyright
6377
+ notice, this list of conditions and the following disclaimer.
6378
+ * Redistributions in binary form must reproduce the above
6379
+ copyright notice, this list of conditions and the following
6380
+ disclaimer in the documentation and/or other materials provided
6381
+ with the distribution.
6382
+ * Neither the name of Google Inc. nor the names of its
6383
+ contributors may be used to endorse or promote products derived
6384
+ from this software without specific prior written permission.
6385
+
6386
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
6387
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
6388
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
6389
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
6390
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
6391
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
6392
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
6393
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6394
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6395
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6396
+
6395
6397
  --------------------------------------------------------------------------------
6396
6398
  flutter
6397
6399
 
@@ -6481,6 +6483,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6481
6483
  flutter_lints
6482
6484
  image_picker_linux
6483
6485
  image_picker_windows
6486
+ in_app_purchase
6487
+ in_app_purchase_platform_interface
6484
6488
  path_provider
6485
6489
  path_provider_linux
6486
6490
  path_provider_platform_interface
@@ -25908,33 +25912,33 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25908
25912
  pdfium_dart
25909
25913
  pdfium_flutter
25910
25914
 
25911
-
25912
- The MIT License (MIT)
25913
- ===============
25914
-
25915
- Copyright (c) 2025 @espresso3389 (Takashi Kawasaki)
25916
-
25917
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25918
-
25919
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25920
-
25921
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25915
+
25916
+ The MIT License (MIT)
25917
+ ===============
25918
+
25919
+ Copyright (c) 2025 @espresso3389 (Takashi Kawasaki)
25920
+
25921
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25922
+
25923
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25924
+
25925
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25922
25926
 
25923
25927
  --------------------------------------------------------------------------------
25924
25928
  pdfrx
25925
25929
  pdfrx_engine
25926
25930
 
25927
-
25928
- The MIT License (MIT)
25929
- ===============
25930
-
25931
- Copyright (c) 2018 @espresso3389 (Takashi Kawasaki)
25932
-
25933
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25934
-
25935
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25936
-
25937
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25931
+
25932
+ The MIT License (MIT)
25933
+ ===============
25934
+
25935
+ Copyright (c) 2018 @espresso3389 (Takashi Kawasaki)
25936
+
25937
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25938
+
25939
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25940
+
25941
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25938
25942
 
25939
25943
  --------------------------------------------------------------------------------
25940
25944
  perfetto