flet-webview 0.2.0.dev57__py3-none-any.whl → 0.2.0.dev504__py3-none-any.whl
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.
Potentially problematic release.
This version of flet-webview might be problematic. Click here for more details.
- flet_webview/__init__.py +4 -2
- flet_webview/types.py +12 -1
- flet_webview/webview.py +74 -219
- {flet_webview-0.2.0.dev57.dist-info → flet_webview-0.2.0.dev504.dist-info}/METADATA +6 -4
- {flet_webview-0.2.0.dev57.dist-info → flet_webview-0.2.0.dev504.dist-info}/RECORD +11 -11
- flutter/flet_webview/lib/src/utils/webview.dart +8 -0
- flutter/flet_webview/lib/src/webview_mobile_and_mac.dart +3 -4
- flutter/flet_webview/pubspec.lock +64 -48
- {flet_webview-0.2.0.dev57.dist-info → flet_webview-0.2.0.dev504.dist-info}/WHEEL +0 -0
- {flet_webview-0.2.0.dev57.dist-info → flet_webview-0.2.0.dev504.dist-info}/licenses/LICENSE +0 -0
- {flet_webview-0.2.0.dev57.dist-info → flet_webview-0.2.0.dev504.dist-info}/top_level.txt +0 -0
flet_webview/__init__.py
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
from .types import (
|
|
1
|
+
from flet_webview.types import (
|
|
2
|
+
JavaScriptMode,
|
|
2
3
|
LogLevelSeverity,
|
|
3
4
|
RequestMethod,
|
|
4
5
|
WebViewConsoleMessageEvent,
|
|
5
6
|
WebViewJavaScriptEvent,
|
|
6
7
|
WebViewScrollEvent,
|
|
7
8
|
)
|
|
8
|
-
from .webview import WebView
|
|
9
|
+
from flet_webview.webview import WebView
|
|
9
10
|
|
|
10
11
|
__all__ = [
|
|
12
|
+
"JavaScriptMode",
|
|
11
13
|
"LogLevelSeverity",
|
|
12
14
|
"RequestMethod",
|
|
13
15
|
"WebView",
|
flet_webview/types.py
CHANGED
|
@@ -5,9 +5,10 @@ from typing import TYPE_CHECKING
|
|
|
5
5
|
import flet as ft
|
|
6
6
|
|
|
7
7
|
if TYPE_CHECKING:
|
|
8
|
-
from .webview import WebView # noqa
|
|
8
|
+
from flet_webview.webview import WebView # noqa
|
|
9
9
|
|
|
10
10
|
__all__ = [
|
|
11
|
+
"JavaScriptMode",
|
|
11
12
|
"LogLevelSeverity",
|
|
12
13
|
"RequestMethod",
|
|
13
14
|
"WebViewConsoleMessageEvent",
|
|
@@ -48,6 +49,16 @@ class LogLevelSeverity(Enum):
|
|
|
48
49
|
"""Indicates a log message was logged using the `console.log` method."""
|
|
49
50
|
|
|
50
51
|
|
|
52
|
+
class JavaScriptMode(Enum):
|
|
53
|
+
"""Defines the state of JavaScript support in the `WebView`."""
|
|
54
|
+
|
|
55
|
+
UNRESTRICTED = "unrestricted"
|
|
56
|
+
"""JavaScript execution is unrestricted."""
|
|
57
|
+
|
|
58
|
+
DISABLED = "disabled"
|
|
59
|
+
"""JavaScript execution is disabled."""
|
|
60
|
+
|
|
61
|
+
|
|
51
62
|
@dataclass
|
|
52
63
|
class WebViewScrollEvent(ft.Event["WebView"]):
|
|
53
64
|
x: float
|
flet_webview/webview.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
from typing import Optional
|
|
3
2
|
|
|
4
3
|
import flet as ft
|
|
5
4
|
|
|
6
|
-
from .types import (
|
|
5
|
+
from flet_webview.types import (
|
|
6
|
+
JavaScriptMode,
|
|
7
7
|
RequestMethod,
|
|
8
8
|
WebViewConsoleMessageEvent,
|
|
9
9
|
WebViewJavaScriptEvent,
|
|
@@ -25,14 +25,6 @@ class WebView(ft.ConstrainedControl):
|
|
|
25
25
|
url: str
|
|
26
26
|
"""The URL of the web page to load."""
|
|
27
27
|
|
|
28
|
-
enable_javascript: Optional[bool] = None
|
|
29
|
-
"""
|
|
30
|
-
Enable or disable the JavaScript execution on the page.
|
|
31
|
-
|
|
32
|
-
Note that disabling the JavaScript execution on the page may result to
|
|
33
|
-
unexpected web page behaviour.
|
|
34
|
-
"""
|
|
35
|
-
|
|
36
28
|
prevent_links: Optional[list[str]] = None
|
|
37
29
|
"""List of url-prefixes that should not be followed/loaded/downloaded."""
|
|
38
30
|
|
|
@@ -132,7 +124,7 @@ class WebView(ft.ConstrainedControl):
|
|
|
132
124
|
"This method is supported on Android, iOS and macOS platforms only."
|
|
133
125
|
)
|
|
134
126
|
|
|
135
|
-
def reload(self):
|
|
127
|
+
async def reload(self):
|
|
136
128
|
"""
|
|
137
129
|
Reloads the current URL.
|
|
138
130
|
|
|
@@ -140,140 +132,76 @@ class WebView(ft.ConstrainedControl):
|
|
|
140
132
|
Works only on the following platforms: iOS, Android and macOS.
|
|
141
133
|
"""
|
|
142
134
|
self._check_mobile_or_mac_platform()
|
|
143
|
-
|
|
135
|
+
await self._invoke_method("reload")
|
|
144
136
|
|
|
145
|
-
async def
|
|
137
|
+
async def can_go_back(self) -> bool:
|
|
146
138
|
"""
|
|
147
|
-
|
|
139
|
+
Whether there's a back history item.
|
|
148
140
|
|
|
149
141
|
Note:
|
|
150
142
|
Works only on the following platforms: iOS, Android and macOS.
|
|
151
|
-
"""
|
|
152
|
-
self._check_mobile_or_mac_platform()
|
|
153
|
-
await self._invoke_method_async("reload")
|
|
154
|
-
|
|
155
|
-
async def can_go_back_async(self) -> bool:
|
|
156
|
-
"""
|
|
157
|
-
Whether there's a back history item.
|
|
158
143
|
|
|
159
144
|
Returns:
|
|
160
145
|
`True` if there is a back history item, `False` otherwise.
|
|
161
|
-
|
|
162
|
-
Note:
|
|
163
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
164
146
|
"""
|
|
165
147
|
self._check_mobile_or_mac_platform()
|
|
166
|
-
return await self.
|
|
148
|
+
return await self._invoke_method("can_go_back")
|
|
167
149
|
|
|
168
150
|
async def can_go_forward(self) -> bool:
|
|
169
151
|
"""
|
|
170
152
|
Whether there's a forward history item.
|
|
171
153
|
|
|
172
|
-
Returns:
|
|
173
|
-
`True` if there is a forward history item, `False` otherwise.
|
|
174
|
-
|
|
175
154
|
Note:
|
|
176
155
|
Works only on the following platforms: iOS, Android and macOS.
|
|
177
|
-
"""
|
|
178
|
-
self._check_mobile_or_mac_platform()
|
|
179
|
-
return await self._invoke_method_async("can_go_forward")
|
|
180
156
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Go back in the history of the webview, if `can_go_back()` is `True`.
|
|
184
|
-
|
|
185
|
-
Note:
|
|
186
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
187
|
-
"""
|
|
188
|
-
self._check_mobile_or_mac_platform()
|
|
189
|
-
asyncio.create_task(self.go_back_async())
|
|
190
|
-
|
|
191
|
-
async def go_back_async(self):
|
|
192
|
-
"""
|
|
193
|
-
Go back in the history of the webview, if `can_go_back()` is `True`.
|
|
194
|
-
|
|
195
|
-
Note:
|
|
196
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
197
|
-
"""
|
|
198
|
-
self._check_mobile_or_mac_platform()
|
|
199
|
-
await self._invoke_method_async("go_back")
|
|
200
|
-
|
|
201
|
-
def go_forward(self):
|
|
202
|
-
"""
|
|
203
|
-
Go forward in the history of the webview, if `can_go_forward()` is `True`.
|
|
204
|
-
|
|
205
|
-
Note:
|
|
206
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
207
|
-
"""
|
|
208
|
-
self._check_mobile_or_mac_platform()
|
|
209
|
-
asyncio.create_task(self.go_forward_async())
|
|
210
|
-
|
|
211
|
-
async def go_forward_async(self):
|
|
212
|
-
"""
|
|
213
|
-
Go forward in the history of the webview, if `can_go_forward()` is `True`.
|
|
214
|
-
|
|
215
|
-
Note:
|
|
216
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
217
|
-
"""
|
|
218
|
-
self._check_mobile_or_mac_platform()
|
|
219
|
-
await self._invoke_method_async("go_forward")
|
|
220
|
-
|
|
221
|
-
def enable_zoom(self):
|
|
222
|
-
"""
|
|
223
|
-
Enable zooming using the on-screen zoom controls and gestures.
|
|
224
|
-
|
|
225
|
-
Note:
|
|
226
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
157
|
+
Returns:
|
|
158
|
+
`True` if there is a forward history item, `False` otherwise.
|
|
227
159
|
"""
|
|
228
160
|
self._check_mobile_or_mac_platform()
|
|
229
|
-
|
|
161
|
+
return await self._invoke_method("can_go_forward")
|
|
230
162
|
|
|
231
|
-
async def
|
|
163
|
+
async def go_back(self):
|
|
232
164
|
"""
|
|
233
|
-
|
|
165
|
+
Goes back in the history of the webview, if `can_go_back()` is `True`.
|
|
234
166
|
|
|
235
167
|
Note:
|
|
236
168
|
Works only on the following platforms: iOS, Android and macOS.
|
|
237
169
|
"""
|
|
238
170
|
self._check_mobile_or_mac_platform()
|
|
239
|
-
await self.
|
|
171
|
+
await self._invoke_method("go_back")
|
|
240
172
|
|
|
241
|
-
def
|
|
173
|
+
async def go_forward(self):
|
|
242
174
|
"""
|
|
243
|
-
|
|
175
|
+
Goes forward in the history of the webview,
|
|
176
|
+
if [`can_go_forward()`][(c).can_go_forward] is `True`.
|
|
244
177
|
|
|
245
178
|
Note:
|
|
246
179
|
Works only on the following platforms: iOS, Android and macOS.
|
|
247
180
|
"""
|
|
248
181
|
self._check_mobile_or_mac_platform()
|
|
249
|
-
|
|
182
|
+
await self._invoke_method("go_forward")
|
|
250
183
|
|
|
251
|
-
async def
|
|
184
|
+
async def enable_zoom(self):
|
|
252
185
|
"""
|
|
253
|
-
|
|
186
|
+
Enables zooming using the on-screen zoom controls and gestures.
|
|
254
187
|
|
|
255
188
|
Note:
|
|
256
189
|
Works only on the following platforms: iOS, Android and macOS.
|
|
257
190
|
"""
|
|
258
191
|
self._check_mobile_or_mac_platform()
|
|
259
|
-
await self.
|
|
192
|
+
await self._invoke_method("enable_zoom")
|
|
260
193
|
|
|
261
|
-
def
|
|
194
|
+
async def disable_zoom(self):
|
|
262
195
|
"""
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
The following caches are cleared:
|
|
266
|
-
- Browser HTTP Cache
|
|
267
|
-
- Cache API caches. Service workers tend to use this cache.
|
|
268
|
-
- Application cache
|
|
196
|
+
Disables zooming using the on-screen zoom controls and gestures.
|
|
269
197
|
|
|
270
198
|
Note:
|
|
271
199
|
Works only on the following platforms: iOS, Android and macOS.
|
|
272
200
|
"""
|
|
273
201
|
self._check_mobile_or_mac_platform()
|
|
274
|
-
|
|
202
|
+
await self._invoke_method("disable_zoom")
|
|
275
203
|
|
|
276
|
-
async def
|
|
204
|
+
async def clear_cache(self):
|
|
277
205
|
"""
|
|
278
206
|
Clears all caches used by the WebView.
|
|
279
207
|
|
|
@@ -286,9 +214,9 @@ class WebView(ft.ConstrainedControl):
|
|
|
286
214
|
Works only on the following platforms: iOS, Android and macOS.
|
|
287
215
|
"""
|
|
288
216
|
self._check_mobile_or_mac_platform()
|
|
289
|
-
await self.
|
|
217
|
+
await self._invoke_method("clear_cache")
|
|
290
218
|
|
|
291
|
-
def clear_local_storage(self):
|
|
219
|
+
async def clear_local_storage(self):
|
|
292
220
|
"""
|
|
293
221
|
Clears the local storage used by the WebView.
|
|
294
222
|
|
|
@@ -296,102 +224,66 @@ class WebView(ft.ConstrainedControl):
|
|
|
296
224
|
Works only on the following platforms: iOS, Android and macOS.
|
|
297
225
|
"""
|
|
298
226
|
self._check_mobile_or_mac_platform()
|
|
299
|
-
|
|
227
|
+
await self._invoke_method("clear_local_storage")
|
|
300
228
|
|
|
301
|
-
async def
|
|
229
|
+
async def get_current_url(self) -> Optional[str]:
|
|
302
230
|
"""
|
|
303
|
-
|
|
231
|
+
Gets the current URL that the WebView is displaying or `None`
|
|
232
|
+
if no URL was ever loaded.
|
|
304
233
|
|
|
305
234
|
Note:
|
|
306
235
|
Works only on the following platforms: iOS, Android and macOS.
|
|
307
|
-
"""
|
|
308
|
-
self._check_mobile_or_mac_platform()
|
|
309
|
-
await self._invoke_method_async("clear_local_storage")
|
|
310
|
-
|
|
311
|
-
async def get_current_url_async(self) -> Optional[str]:
|
|
312
|
-
"""
|
|
313
|
-
Returns the current URL that the WebView is displaying or `None`
|
|
314
|
-
if no URL was ever loaded.
|
|
315
236
|
|
|
316
237
|
Returns:
|
|
317
238
|
The current URL that the WebView is displaying or `None`
|
|
318
239
|
if no URL was ever loaded.
|
|
319
|
-
|
|
320
|
-
Note:
|
|
321
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
322
240
|
"""
|
|
323
241
|
self._check_mobile_or_mac_platform()
|
|
324
|
-
return await self.
|
|
242
|
+
return await self._invoke_method("get_current_url")
|
|
325
243
|
|
|
326
|
-
async def
|
|
244
|
+
async def get_title(self) -> Optional[str]:
|
|
327
245
|
"""
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
Returns:
|
|
331
|
-
The title of the currently loaded page.
|
|
246
|
+
Get the title of the currently loaded page.
|
|
332
247
|
|
|
333
248
|
Note:
|
|
334
249
|
Works only on the following platforms: iOS, Android and macOS.
|
|
250
|
+
|
|
251
|
+
Returns:
|
|
252
|
+
The title of the currently loaded page.
|
|
335
253
|
"""
|
|
336
254
|
self._check_mobile_or_mac_platform()
|
|
337
|
-
return await self.
|
|
255
|
+
return await self._invoke_method("get_title")
|
|
338
256
|
|
|
339
|
-
async def
|
|
257
|
+
async def get_user_agent(self) -> Optional[str]:
|
|
340
258
|
"""
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
Returns:
|
|
344
|
-
The value used for the HTTP `User-Agent:` request header.
|
|
259
|
+
Get the value used for the HTTP `User-Agent:` request header.
|
|
345
260
|
|
|
346
261
|
Note:
|
|
347
262
|
Works only on the following platforms: iOS, Android and macOS.
|
|
263
|
+
|
|
264
|
+
Returns:
|
|
265
|
+
The value used for the HTTP `User-Agent:` request header.
|
|
348
266
|
"""
|
|
349
267
|
self._check_mobile_or_mac_platform()
|
|
350
|
-
return await self.
|
|
268
|
+
return await self._invoke_method("get_user_agent")
|
|
351
269
|
|
|
352
|
-
def load_file(self, path: str):
|
|
270
|
+
async def load_file(self, path: str):
|
|
353
271
|
"""
|
|
354
272
|
Loads the provided local file.
|
|
355
273
|
|
|
356
|
-
Args:
|
|
357
|
-
path: The absolute path to the file.
|
|
358
|
-
|
|
359
274
|
Note:
|
|
360
275
|
Works only on the following platforms: iOS, Android and macOS.
|
|
361
|
-
"""
|
|
362
|
-
self._check_mobile_or_mac_platform()
|
|
363
|
-
asyncio.create_task(self.load_file_async(path))
|
|
364
|
-
|
|
365
|
-
async def load_file_async(self, path: str):
|
|
366
|
-
"""
|
|
367
|
-
Loads the provided local file.
|
|
368
276
|
|
|
369
277
|
Args:
|
|
370
278
|
path: The absolute path to the file.
|
|
371
|
-
|
|
372
|
-
Note:
|
|
373
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
374
279
|
"""
|
|
375
280
|
self._check_mobile_or_mac_platform()
|
|
376
|
-
await self.
|
|
281
|
+
await self._invoke_method(
|
|
377
282
|
method_name="load_file",
|
|
378
283
|
arguments={"path": path},
|
|
379
284
|
)
|
|
380
285
|
|
|
381
|
-
def load_request(self, url: str, method: RequestMethod = RequestMethod.GET):
|
|
382
|
-
"""
|
|
383
|
-
Makes an HTTP request and loads the response in the webview.
|
|
384
|
-
|
|
385
|
-
Args:
|
|
386
|
-
url: The URL to load.
|
|
387
|
-
method: The HTTP method to use.
|
|
388
|
-
"""
|
|
389
|
-
self._check_mobile_or_mac_platform()
|
|
390
|
-
asyncio.create_task(self.load_request_async(url, method))
|
|
391
|
-
|
|
392
|
-
async def load_request_async(
|
|
393
|
-
self, url: str, method: RequestMethod = RequestMethod.GET
|
|
394
|
-
):
|
|
286
|
+
async def load_request(self, url: str, method: RequestMethod = RequestMethod.GET):
|
|
395
287
|
"""
|
|
396
288
|
Makes an HTTP request and loads the response in the webview.
|
|
397
289
|
|
|
@@ -403,11 +295,11 @@ class WebView(ft.ConstrainedControl):
|
|
|
403
295
|
Works only on the following platforms: iOS, Android and macOS.
|
|
404
296
|
"""
|
|
405
297
|
self._check_mobile_or_mac_platform()
|
|
406
|
-
await self.
|
|
298
|
+
await self._invoke_method(
|
|
407
299
|
"load_request", arguments={"url": url, "method": method}
|
|
408
300
|
)
|
|
409
301
|
|
|
410
|
-
def run_javascript(self, value: str):
|
|
302
|
+
async def run_javascript(self, value: str):
|
|
411
303
|
"""
|
|
412
304
|
Runs the given JavaScript in the context of the current page.
|
|
413
305
|
|
|
@@ -418,112 +310,75 @@ class WebView(ft.ConstrainedControl):
|
|
|
418
310
|
Works only on the following platforms: iOS, Android and macOS.
|
|
419
311
|
"""
|
|
420
312
|
self._check_mobile_or_mac_platform()
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
async def run_javascript_async(self, value: str):
|
|
424
|
-
"""
|
|
425
|
-
Runs the given JavaScript in the context of the current page.
|
|
426
|
-
|
|
427
|
-
Args:
|
|
428
|
-
value: The JavaScript code to run.
|
|
429
|
-
|
|
430
|
-
Note:
|
|
431
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
432
|
-
"""
|
|
433
|
-
self._check_mobile_or_mac_platform()
|
|
434
|
-
await self._invoke_method_async(
|
|
313
|
+
await self._invoke_method(
|
|
435
314
|
method_name="run_javascript",
|
|
436
315
|
arguments={"value": value},
|
|
437
316
|
)
|
|
438
317
|
|
|
439
|
-
def load_html(self, value: str, base_url: Optional[str] = None):
|
|
318
|
+
async def load_html(self, value: str, base_url: Optional[str] = None):
|
|
440
319
|
"""
|
|
441
320
|
Loads the provided HTML string.
|
|
442
321
|
|
|
443
|
-
Args:
|
|
444
|
-
value: The HTML string to load.
|
|
445
|
-
base_url: The base URL to use when resolving relative URLs within the value.
|
|
446
|
-
|
|
447
322
|
Note:
|
|
448
323
|
Works only on the following platforms: iOS, Android and macOS.
|
|
449
|
-
"""
|
|
450
|
-
self._check_mobile_or_mac_platform()
|
|
451
|
-
asyncio.create_task(self.load_html_async(value, base_url))
|
|
452
|
-
|
|
453
|
-
async def load_html_async(self, value: str, base_url: Optional[str] = None):
|
|
454
|
-
"""
|
|
455
|
-
Loads the provided HTML string.
|
|
456
324
|
|
|
457
325
|
Args:
|
|
458
326
|
value: The HTML string to load.
|
|
459
327
|
base_url: The base URL to use when resolving relative URLs within the value.
|
|
460
|
-
|
|
461
|
-
Note:
|
|
462
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
463
328
|
"""
|
|
464
329
|
self._check_mobile_or_mac_platform()
|
|
465
|
-
await self.
|
|
330
|
+
await self._invoke_method(
|
|
466
331
|
"load_html", arguments={"value": value, "base_url": base_url}
|
|
467
332
|
)
|
|
468
333
|
|
|
469
|
-
def scroll_to(self, x: int, y: int):
|
|
334
|
+
async def scroll_to(self, x: int, y: int):
|
|
470
335
|
"""
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
Args:
|
|
474
|
-
x: The x-coordinate of the scroll position.
|
|
475
|
-
y: The y-coordinate of the scroll position.
|
|
336
|
+
Scrolls to the provided position of webview pixels.
|
|
476
337
|
|
|
477
338
|
Note:
|
|
478
339
|
Works only on the following platforms: iOS, Android and macOS.
|
|
479
|
-
"""
|
|
480
|
-
self._check_mobile_or_mac_platform()
|
|
481
|
-
asyncio.create_task(self.scroll_to_async(x, y))
|
|
482
|
-
|
|
483
|
-
async def scroll_to_async(self, x: int, y: int):
|
|
484
|
-
"""
|
|
485
|
-
Scroll to the provided position of webview pixels.
|
|
486
340
|
|
|
487
341
|
Args:
|
|
488
342
|
x: The x-coordinate of the scroll position.
|
|
489
343
|
y: The y-coordinate of the scroll position.
|
|
490
|
-
|
|
491
|
-
Note:
|
|
492
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
493
344
|
"""
|
|
494
345
|
self._check_mobile_or_mac_platform()
|
|
495
|
-
await self.
|
|
346
|
+
await self._invoke_method(
|
|
496
347
|
method_name="scroll_to",
|
|
497
348
|
arguments={"x": x, "y": y},
|
|
498
349
|
)
|
|
499
350
|
|
|
500
|
-
def scroll_by(self, x: int, y: int):
|
|
351
|
+
async def scroll_by(self, x: int, y: int):
|
|
501
352
|
"""
|
|
502
|
-
|
|
353
|
+
Scrolls by the provided number of webview pixels.
|
|
354
|
+
|
|
355
|
+
Note:
|
|
356
|
+
Works only on the following platforms: iOS, Android and macOS.
|
|
503
357
|
|
|
504
358
|
Args:
|
|
505
359
|
x: The number of pixels to scroll by on the x-axis.
|
|
506
360
|
y: The number of pixels to scroll by on the y-axis.
|
|
507
|
-
|
|
508
|
-
Note:
|
|
509
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
510
361
|
"""
|
|
511
362
|
self._check_mobile_or_mac_platform()
|
|
512
|
-
|
|
363
|
+
await self._invoke_method(
|
|
364
|
+
method_name="scroll_by",
|
|
365
|
+
arguments={"x": x, "y": y},
|
|
366
|
+
)
|
|
513
367
|
|
|
514
|
-
async def
|
|
368
|
+
async def set_javascript_mode(self, mode: JavaScriptMode):
|
|
515
369
|
"""
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
Args:
|
|
519
|
-
x: The number of pixels to scroll by on the x-axis.
|
|
520
|
-
y: The number of pixels to scroll by on the y-axis.
|
|
370
|
+
Sets the JavaScript mode of the WebView.
|
|
521
371
|
|
|
522
372
|
Note:
|
|
523
|
-
Works only on the following platforms: iOS, Android and macOS.
|
|
373
|
+
- Works only on the following platforms: iOS, Android and macOS.
|
|
374
|
+
- Disabling the JavaScript execution on the page may result to
|
|
375
|
+
unexpected web page behaviour.
|
|
376
|
+
|
|
377
|
+
Args:
|
|
378
|
+
mode: The JavaScript mode to set.
|
|
524
379
|
"""
|
|
525
380
|
self._check_mobile_or_mac_platform()
|
|
526
|
-
await self.
|
|
527
|
-
method_name="
|
|
528
|
-
arguments={"
|
|
381
|
+
await self._invoke_method(
|
|
382
|
+
method_name="set_javascript_mode",
|
|
383
|
+
arguments={"mode": mode},
|
|
529
384
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-webview
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev504
|
|
4
4
|
Summary: Display web content in Flet apps using WebView.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -42,7 +42,9 @@ This package supports the following platforms:
|
|
|
42
42
|
| Android | ✅ |
|
|
43
43
|
| Web | ✅ |
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
### Installation
|
|
46
48
|
|
|
47
49
|
To install the `flet-webview` package and add it to your project dependencies:
|
|
48
50
|
|
|
@@ -62,6 +64,6 @@ To install the `flet-webview` package and add it to your project dependencies:
|
|
|
62
64
|
poetry add flet-webview
|
|
63
65
|
```
|
|
64
66
|
|
|
65
|
-
|
|
67
|
+
### Examples
|
|
66
68
|
|
|
67
|
-
For examples, see [
|
|
69
|
+
For examples, see [these](./examples).
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
flet_webview/__init__.py,sha256=
|
|
2
|
-
flet_webview/types.py,sha256=
|
|
3
|
-
flet_webview/webview.py,sha256=
|
|
4
|
-
flet_webview-0.2.0.
|
|
1
|
+
flet_webview/__init__.py,sha256=OK4CdtkxGRYvBiIuNEVr_zXw8sSNI29v8lRqKtI_im0,408
|
|
2
|
+
flet_webview/types.py,sha256=PmI84y3ZTa0AVEffW-VlYHQXW1JcHAvczfrYnR9cmP0,2184
|
|
3
|
+
flet_webview/webview.py,sha256=n6BL8mqvNhacC2xId8kEVId5bhMjcBePzlV9WH7qjeE,11832
|
|
4
|
+
flet_webview-0.2.0.dev504.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
5
|
flutter/flet_webview/CHANGELOG.md,sha256=66sWepPaeTc9_lzcYIGU55AlxSU5Z1XVtknXpzd_-p8,40
|
|
6
6
|
flutter/flet_webview/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
7
7
|
flutter/flet_webview/README.md,sha256=GIdqSwI5CZ6a1JQad87qfn_zGBRL2hPB6nTgB2PtuaU,64
|
|
8
8
|
flutter/flet_webview/analysis_options.yaml,sha256=32kjGAc-zF87inWaH5M46yGZWQDTwrwfvNLHeAocfG4,154
|
|
9
|
-
flutter/flet_webview/pubspec.lock,sha256=
|
|
9
|
+
flutter/flet_webview/pubspec.lock,sha256=oWhYKLNoNs5Jbr5jTrBfmD12AajcCr3I7eJsvxuxpVA,24586
|
|
10
10
|
flutter/flet_webview/pubspec.yaml,sha256=5atkJMd8GycvAiSzZJIC7YKGMF9BXnwIiGmjKxMHLZM,641
|
|
11
11
|
flutter/flet_webview/lib/flet_webview.dart,sha256=aB3uPJrudP8SaZfpr2GH3c3j2jEZcEIeGrAkFiXb9IA,67
|
|
12
12
|
flutter/flet_webview/lib/src/extension.dart,sha256=lff3mOfxO2_Ite2Oi5VAoHD42BGrN3N4hjF0rGuPv3s,350
|
|
13
13
|
flutter/flet_webview/lib/src/webview.dart,sha256=HrcXyQv_rVuun0szbEUEFloKSARLy54c78L9gpK6RIA,975
|
|
14
|
-
flutter/flet_webview/lib/src/webview_mobile_and_mac.dart,sha256=
|
|
14
|
+
flutter/flet_webview/lib/src/webview_mobile_and_mac.dart,sha256=KoAxgothe7de_jUfFW_zjj-C8trZjQ5NqcRenHlcvlc,5789
|
|
15
15
|
flutter/flet_webview/lib/src/webview_web.dart,sha256=MuLZR9soUyKqDdDAYA09d8AzmX00YeT0Pqs3Nbo4Hts,1073
|
|
16
16
|
flutter/flet_webview/lib/src/webview_web_vain.dart,sha256=Asu8QRq7Fky8MDEdKcOa01ux06j64xK4MwCGa5yvSDU,337
|
|
17
17
|
flutter/flet_webview/lib/src/webview_windows_and_linux.dart,sha256=LxkO6qbz0aaZM9UYSufUCjrNr1pK12pwlqutH4_-aio,314
|
|
18
18
|
flutter/flet_webview/lib/src/webview_windows_and_linux_vain.dart,sha256=pF5i1Tqy6avqSiwpqAoIEr98Z7y3ZE_HOrAThhIF86A,452
|
|
19
|
-
flutter/flet_webview/lib/src/utils/webview.dart,sha256=
|
|
20
|
-
flet_webview-0.2.0.
|
|
21
|
-
flet_webview-0.2.0.
|
|
22
|
-
flet_webview-0.2.0.
|
|
23
|
-
flet_webview-0.2.0.
|
|
19
|
+
flutter/flet_webview/lib/src/utils/webview.dart,sha256=hPbqSfFsQaYyvdmhXesnV1WBHquiRv-SR4RwjPPJqXg,648
|
|
20
|
+
flet_webview-0.2.0.dev504.dist-info/METADATA,sha256=yd15luzJ9Nb4Mn0BK6bwAkxS5OoVHfNEStB6aAnYRdo,2058
|
|
21
|
+
flet_webview-0.2.0.dev504.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
22
|
+
flet_webview-0.2.0.dev504.dist-info/top_level.txt,sha256=svOnOxqAYWBe87-fr3VmmQm8S73eVhAu0t9O3MryqS4,21
|
|
23
|
+
flet_webview-0.2.0.dev504.dist-info/RECORD,,
|
|
@@ -8,3 +8,11 @@ LoadRequestMethod? parseLoadRequestMethod(String? value,
|
|
|
8
8
|
(e) => e.name.toLowerCase() == value.toLowerCase()) ??
|
|
9
9
|
defaultValue;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
JavaScriptMode? parseJavaScriptMode(String? value,
|
|
13
|
+
[JavaScriptMode? defaultValue]) {
|
|
14
|
+
if (value == null) return defaultValue;
|
|
15
|
+
return JavaScriptMode.values.firstWhereOrNull(
|
|
16
|
+
(e) => e.name.toLowerCase() == value.toLowerCase()) ??
|
|
17
|
+
defaultValue;
|
|
18
|
+
}
|
|
@@ -154,10 +154,9 @@ class _WebviewMobileAndMacState extends State<WebviewMobileAndMac> {
|
|
|
154
154
|
}
|
|
155
155
|
break;
|
|
156
156
|
case "set_javascript_mode":
|
|
157
|
-
var
|
|
158
|
-
if (
|
|
159
|
-
await controller.setJavaScriptMode(
|
|
160
|
-
value ? JavaScriptMode.unrestricted : JavaScriptMode.disabled);
|
|
157
|
+
var mode = parseJavaScriptMode(args["mode"]);
|
|
158
|
+
if (mode != null) {
|
|
159
|
+
await controller.setJavaScriptMode(mode);
|
|
161
160
|
}
|
|
162
161
|
break;
|
|
163
162
|
default:
|
|
@@ -13,10 +13,10 @@ packages:
|
|
|
13
13
|
dependency: transitive
|
|
14
14
|
description:
|
|
15
15
|
name: async
|
|
16
|
-
sha256:
|
|
16
|
+
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
|
|
17
17
|
url: "https://pub.dev"
|
|
18
18
|
source: hosted
|
|
19
|
-
version: "2.
|
|
19
|
+
version: "2.13.0"
|
|
20
20
|
boolean_selector:
|
|
21
21
|
dependency: transitive
|
|
22
22
|
description:
|
|
@@ -65,6 +65,14 @@ packages:
|
|
|
65
65
|
url: "https://pub.dev"
|
|
66
66
|
source: hosted
|
|
67
67
|
version: "3.0.6"
|
|
68
|
+
dbus:
|
|
69
|
+
dependency: transitive
|
|
70
|
+
description:
|
|
71
|
+
name: dbus
|
|
72
|
+
sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c"
|
|
73
|
+
url: "https://pub.dev"
|
|
74
|
+
source: hosted
|
|
75
|
+
version: "0.7.11"
|
|
68
76
|
device_info_plus:
|
|
69
77
|
dependency: transitive
|
|
70
78
|
description:
|
|
@@ -93,10 +101,10 @@ packages:
|
|
|
93
101
|
dependency: transitive
|
|
94
102
|
description:
|
|
95
103
|
name: fake_async
|
|
96
|
-
sha256: "
|
|
104
|
+
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
|
|
97
105
|
url: "https://pub.dev"
|
|
98
106
|
source: hosted
|
|
99
|
-
version: "1.3.
|
|
107
|
+
version: "1.3.3"
|
|
100
108
|
ffi:
|
|
101
109
|
dependency: transitive
|
|
102
110
|
description:
|
|
@@ -117,16 +125,16 @@ packages:
|
|
|
117
125
|
dependency: transitive
|
|
118
126
|
description:
|
|
119
127
|
name: file_picker
|
|
120
|
-
sha256:
|
|
128
|
+
sha256: e7e16c9d15c36330b94ca0e2ad8cb61f93cd5282d0158c09805aed13b5452f22
|
|
121
129
|
url: "https://pub.dev"
|
|
122
130
|
source: hosted
|
|
123
|
-
version: "10.2
|
|
131
|
+
version: "10.3.2"
|
|
124
132
|
flet:
|
|
125
133
|
dependency: "direct main"
|
|
126
134
|
description:
|
|
127
135
|
path: "packages/flet"
|
|
128
136
|
ref: main
|
|
129
|
-
resolved-ref:
|
|
137
|
+
resolved-ref: "27cea68736639eff49200813838bba3b2bd4e2b0"
|
|
130
138
|
url: "https://github.com/flet-dev/flet.git"
|
|
131
139
|
source: git
|
|
132
140
|
version: "0.70.0"
|
|
@@ -168,10 +176,10 @@ packages:
|
|
|
168
176
|
dependency: transitive
|
|
169
177
|
description:
|
|
170
178
|
name: flutter_plugin_android_lifecycle
|
|
171
|
-
sha256:
|
|
179
|
+
sha256: "6382ce712ff69b0f719640ce957559dde459e55ecd433c767e06d139ddf16cab"
|
|
172
180
|
url: "https://pub.dev"
|
|
173
181
|
source: hosted
|
|
174
|
-
version: "2.0.
|
|
182
|
+
version: "2.0.29"
|
|
175
183
|
flutter_svg:
|
|
176
184
|
dependency: transitive
|
|
177
185
|
description:
|
|
@@ -218,10 +226,10 @@ packages:
|
|
|
218
226
|
dependency: transitive
|
|
219
227
|
description:
|
|
220
228
|
name: intl
|
|
221
|
-
sha256:
|
|
229
|
+
sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5"
|
|
222
230
|
url: "https://pub.dev"
|
|
223
231
|
source: hosted
|
|
224
|
-
version: "0.
|
|
232
|
+
version: "0.20.2"
|
|
225
233
|
json_annotation:
|
|
226
234
|
dependency: transitive
|
|
227
235
|
description:
|
|
@@ -234,26 +242,26 @@ packages:
|
|
|
234
242
|
dependency: transitive
|
|
235
243
|
description:
|
|
236
244
|
name: leak_tracker
|
|
237
|
-
sha256:
|
|
245
|
+
sha256: "8dcda04c3fc16c14f48a7bb586d4be1f0d1572731b6d81d51772ef47c02081e0"
|
|
238
246
|
url: "https://pub.dev"
|
|
239
247
|
source: hosted
|
|
240
|
-
version: "
|
|
248
|
+
version: "11.0.1"
|
|
241
249
|
leak_tracker_flutter_testing:
|
|
242
250
|
dependency: transitive
|
|
243
251
|
description:
|
|
244
252
|
name: leak_tracker_flutter_testing
|
|
245
|
-
sha256:
|
|
253
|
+
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
|
|
246
254
|
url: "https://pub.dev"
|
|
247
255
|
source: hosted
|
|
248
|
-
version: "3.0.
|
|
256
|
+
version: "3.0.10"
|
|
249
257
|
leak_tracker_testing:
|
|
250
258
|
dependency: transitive
|
|
251
259
|
description:
|
|
252
260
|
name: leak_tracker_testing
|
|
253
|
-
sha256: "
|
|
261
|
+
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
|
|
254
262
|
url: "https://pub.dev"
|
|
255
263
|
source: hosted
|
|
256
|
-
version: "3.0.
|
|
264
|
+
version: "3.0.2"
|
|
257
265
|
lints:
|
|
258
266
|
dependency: transitive
|
|
259
267
|
description:
|
|
@@ -354,10 +362,10 @@ packages:
|
|
|
354
362
|
dependency: transitive
|
|
355
363
|
description:
|
|
356
364
|
name: path_provider_foundation
|
|
357
|
-
sha256: "
|
|
365
|
+
sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd"
|
|
358
366
|
url: "https://pub.dev"
|
|
359
367
|
source: hosted
|
|
360
|
-
version: "2.4.
|
|
368
|
+
version: "2.4.2"
|
|
361
369
|
path_provider_linux:
|
|
362
370
|
dependency: transitive
|
|
363
371
|
description:
|
|
@@ -410,10 +418,10 @@ packages:
|
|
|
410
418
|
dependency: transitive
|
|
411
419
|
description:
|
|
412
420
|
name: provider
|
|
413
|
-
sha256: "
|
|
421
|
+
sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272"
|
|
414
422
|
url: "https://pub.dev"
|
|
415
423
|
source: hosted
|
|
416
|
-
version: "6.1.5"
|
|
424
|
+
version: "6.1.5+1"
|
|
417
425
|
screen_retriever:
|
|
418
426
|
dependency: transitive
|
|
419
427
|
description:
|
|
@@ -454,14 +462,22 @@ packages:
|
|
|
454
462
|
url: "https://pub.dev"
|
|
455
463
|
source: hosted
|
|
456
464
|
version: "0.2.0"
|
|
465
|
+
screenshot:
|
|
466
|
+
dependency: transitive
|
|
467
|
+
description:
|
|
468
|
+
name: screenshot
|
|
469
|
+
sha256: "63817697a7835e6ce82add4228e15d233b74d42975c143ad8cfe07009fab866b"
|
|
470
|
+
url: "https://pub.dev"
|
|
471
|
+
source: hosted
|
|
472
|
+
version: "3.0.0"
|
|
457
473
|
sensors_plus:
|
|
458
474
|
dependency: transitive
|
|
459
475
|
description:
|
|
460
476
|
name: sensors_plus
|
|
461
|
-
sha256: "
|
|
477
|
+
sha256: "89e2bfc3d883743539ce5774a2b93df61effde40ff958ecad78cd66b1a8b8d52"
|
|
462
478
|
url: "https://pub.dev"
|
|
463
479
|
source: hosted
|
|
464
|
-
version: "6.1.
|
|
480
|
+
version: "6.1.2"
|
|
465
481
|
sensors_plus_platform_interface:
|
|
466
482
|
dependency: transitive
|
|
467
483
|
description:
|
|
@@ -482,10 +498,10 @@ packages:
|
|
|
482
498
|
dependency: transitive
|
|
483
499
|
description:
|
|
484
500
|
name: shared_preferences_android
|
|
485
|
-
sha256: "
|
|
501
|
+
sha256: "5bcf0772a761b04f8c6bf814721713de6f3e5d9d89caf8d3fe031b02a342379e"
|
|
486
502
|
url: "https://pub.dev"
|
|
487
503
|
source: hosted
|
|
488
|
-
version: "2.4.
|
|
504
|
+
version: "2.4.11"
|
|
489
505
|
shared_preferences_foundation:
|
|
490
506
|
dependency: transitive
|
|
491
507
|
description:
|
|
@@ -575,10 +591,10 @@ packages:
|
|
|
575
591
|
dependency: transitive
|
|
576
592
|
description:
|
|
577
593
|
name: test_api
|
|
578
|
-
sha256:
|
|
594
|
+
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
|
|
579
595
|
url: "https://pub.dev"
|
|
580
596
|
source: hosted
|
|
581
|
-
version: "0.7.
|
|
597
|
+
version: "0.7.6"
|
|
582
598
|
typed_data:
|
|
583
599
|
dependency: transitive
|
|
584
600
|
description:
|
|
@@ -599,18 +615,18 @@ packages:
|
|
|
599
615
|
dependency: transitive
|
|
600
616
|
description:
|
|
601
617
|
name: url_launcher_android
|
|
602
|
-
sha256: "
|
|
618
|
+
sha256: "0aedad096a85b49df2e4725fa32118f9fa580f3b14af7a2d2221896a02cd5656"
|
|
603
619
|
url: "https://pub.dev"
|
|
604
620
|
source: hosted
|
|
605
|
-
version: "6.3.
|
|
621
|
+
version: "6.3.17"
|
|
606
622
|
url_launcher_ios:
|
|
607
623
|
dependency: transitive
|
|
608
624
|
description:
|
|
609
625
|
name: url_launcher_ios
|
|
610
|
-
sha256:
|
|
626
|
+
sha256: d80b3f567a617cb923546034cc94bfe44eb15f989fe670b37f26abdb9d939cb7
|
|
611
627
|
url: "https://pub.dev"
|
|
612
628
|
source: hosted
|
|
613
|
-
version: "6.3.
|
|
629
|
+
version: "6.3.4"
|
|
614
630
|
url_launcher_linux:
|
|
615
631
|
dependency: transitive
|
|
616
632
|
description:
|
|
@@ -623,10 +639,10 @@ packages:
|
|
|
623
639
|
dependency: transitive
|
|
624
640
|
description:
|
|
625
641
|
name: url_launcher_macos
|
|
626
|
-
sha256:
|
|
642
|
+
sha256: c043a77d6600ac9c38300567f33ef12b0ef4f4783a2c1f00231d2b1941fea13f
|
|
627
643
|
url: "https://pub.dev"
|
|
628
644
|
source: hosted
|
|
629
|
-
version: "3.2.
|
|
645
|
+
version: "3.2.3"
|
|
630
646
|
url_launcher_platform_interface:
|
|
631
647
|
dependency: transitive
|
|
632
648
|
description:
|
|
@@ -671,26 +687,26 @@ packages:
|
|
|
671
687
|
dependency: transitive
|
|
672
688
|
description:
|
|
673
689
|
name: vector_graphics_compiler
|
|
674
|
-
sha256:
|
|
690
|
+
sha256: ca81fdfaf62a5ab45d7296614aea108d2c7d0efca8393e96174bf4d51e6725b0
|
|
675
691
|
url: "https://pub.dev"
|
|
676
692
|
source: hosted
|
|
677
|
-
version: "1.1.
|
|
693
|
+
version: "1.1.18"
|
|
678
694
|
vector_math:
|
|
679
695
|
dependency: transitive
|
|
680
696
|
description:
|
|
681
697
|
name: vector_math
|
|
682
|
-
sha256:
|
|
698
|
+
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
|
|
683
699
|
url: "https://pub.dev"
|
|
684
700
|
source: hosted
|
|
685
|
-
version: "2.
|
|
701
|
+
version: "2.2.0"
|
|
686
702
|
vm_service:
|
|
687
703
|
dependency: transitive
|
|
688
704
|
description:
|
|
689
705
|
name: vm_service
|
|
690
|
-
sha256: "
|
|
706
|
+
sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60"
|
|
691
707
|
url: "https://pub.dev"
|
|
692
708
|
source: hosted
|
|
693
|
-
version: "
|
|
709
|
+
version: "15.0.2"
|
|
694
710
|
web:
|
|
695
711
|
dependency: transitive
|
|
696
712
|
description:
|
|
@@ -727,18 +743,18 @@ packages:
|
|
|
727
743
|
dependency: transitive
|
|
728
744
|
description:
|
|
729
745
|
name: webview_flutter_android
|
|
730
|
-
sha256: "
|
|
746
|
+
sha256: "0a42444056b24ed832bdf3442d65c5194f6416f7e782152384944053c2ecc9a3"
|
|
731
747
|
url: "https://pub.dev"
|
|
732
748
|
source: hosted
|
|
733
|
-
version: "4.
|
|
749
|
+
version: "4.10.0"
|
|
734
750
|
webview_flutter_platform_interface:
|
|
735
751
|
dependency: "direct main"
|
|
736
752
|
description:
|
|
737
753
|
name: webview_flutter_platform_interface
|
|
738
|
-
sha256:
|
|
754
|
+
sha256: "63d26ee3aca7256a83ccb576a50272edd7cfc80573a4305caa98985feb493ee0"
|
|
739
755
|
url: "https://pub.dev"
|
|
740
756
|
source: hosted
|
|
741
|
-
version: "2.
|
|
757
|
+
version: "2.14.0"
|
|
742
758
|
webview_flutter_web:
|
|
743
759
|
dependency: "direct main"
|
|
744
760
|
description:
|
|
@@ -751,18 +767,18 @@ packages:
|
|
|
751
767
|
dependency: transitive
|
|
752
768
|
description:
|
|
753
769
|
name: webview_flutter_wkwebview
|
|
754
|
-
sha256:
|
|
770
|
+
sha256: fb46db8216131a3e55bcf44040ca808423539bc6732e7ed34fb6d8044e3d512f
|
|
755
771
|
url: "https://pub.dev"
|
|
756
772
|
source: hosted
|
|
757
|
-
version: "3.
|
|
773
|
+
version: "3.23.0"
|
|
758
774
|
win32:
|
|
759
775
|
dependency: transitive
|
|
760
776
|
description:
|
|
761
777
|
name: win32
|
|
762
|
-
sha256: "
|
|
778
|
+
sha256: "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03"
|
|
763
779
|
url: "https://pub.dev"
|
|
764
780
|
source: hosted
|
|
765
|
-
version: "5.
|
|
781
|
+
version: "5.14.0"
|
|
766
782
|
win32_registry:
|
|
767
783
|
dependency: transitive
|
|
768
784
|
description:
|
|
@@ -804,5 +820,5 @@ packages:
|
|
|
804
820
|
source: hosted
|
|
805
821
|
version: "6.5.0"
|
|
806
822
|
sdks:
|
|
807
|
-
dart: ">=3.
|
|
823
|
+
dart: ">=3.8.0 <4.0.0"
|
|
808
824
|
flutter: ">=3.29.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|