flet-webview 0.70.0.dev6365__py3-none-any.whl → 0.70.0.dev6370__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/webview.py CHANGED
@@ -113,7 +113,8 @@ class WebView(ft.LayoutControl):
113
113
  """
114
114
  Checks/Validates support for the current platform (iOS, Android, or macOS).
115
115
  """
116
- assert self.page is not None, "WebView must be added to page first."
116
+ if self.page is None:
117
+ raise RuntimeError("WebView must be added to page first.")
117
118
  if self.page.web or self.page.platform not in [
118
119
  ft.PagePlatform.ANDROID,
119
120
  ft.PagePlatform.IOS,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-webview
3
- Version: 0.70.0.dev6365
3
+ Version: 0.70.0.dev6370
4
4
  Summary: Embed web content inside Flet apps via WebView.
5
5
  Author-email: Flet contributors <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: flet==0.70.0.dev6365
14
+ Requires-Dist: flet==0.70.0.dev6370
15
15
  Dynamic: license-file
16
16
 
17
17
  # flet-webview
@@ -1,7 +1,7 @@
1
1
  flet_webview/__init__.py,sha256=OK4CdtkxGRYvBiIuNEVr_zXw8sSNI29v8lRqKtI_im0,408
2
2
  flet_webview/types.py,sha256=PmI84y3ZTa0AVEffW-VlYHQXW1JcHAvczfrYnR9cmP0,2184
3
- flet_webview/webview.py,sha256=DGmbcp4aR4x5VeXOZL8Oa2GB-dhQ6mpOluFtsbNQrus,11826
4
- flet_webview-0.70.0.dev6365.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
3
+ flet_webview/webview.py,sha256=KyqlPWIlJifT-VOAMIddYcJCgNn3dMNaqeYr654HV4c,11850
4
+ flet_webview-0.70.0.dev6370.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
5
  flutter/flet_webview/analysis_options.yaml,sha256=32kjGAc-zF87inWaH5M46yGZWQDTwrwfvNLHeAocfG4,154
6
6
  flutter/flet_webview/pubspec.lock,sha256=1wqKlcvN0TvqcKQERVTQxNPZcAc_SYBr9kWeuNuCJbo,24498
7
7
  flutter/flet_webview/pubspec.yaml,sha256=MctG96ywqd3VIOOu97gE0ioZ1Gm4ALhdC1MF9Wfhf6I,483
@@ -14,7 +14,7 @@ flutter/flet_webview/lib/src/webview_web_vain.dart,sha256=Asu8QRq7Fky8MDEdKcOa01
14
14
  flutter/flet_webview/lib/src/webview_windows_and_linux.dart,sha256=LxkO6qbz0aaZM9UYSufUCjrNr1pK12pwlqutH4_-aio,314
15
15
  flutter/flet_webview/lib/src/webview_windows_and_linux_vain.dart,sha256=pF5i1Tqy6avqSiwpqAoIEr98Z7y3ZE_HOrAThhIF86A,452
16
16
  flutter/flet_webview/lib/src/utils/webview.dart,sha256=hPbqSfFsQaYyvdmhXesnV1WBHquiRv-SR4RwjPPJqXg,648
17
- flet_webview-0.70.0.dev6365.dist-info/METADATA,sha256=SuFtho9FPxez1e9novbu8qA9a7YiiIMKEdD1vW2Iaww,2156
18
- flet_webview-0.70.0.dev6365.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- flet_webview-0.70.0.dev6365.dist-info/top_level.txt,sha256=svOnOxqAYWBe87-fr3VmmQm8S73eVhAu0t9O3MryqS4,21
20
- flet_webview-0.70.0.dev6365.dist-info/RECORD,,
17
+ flet_webview-0.70.0.dev6370.dist-info/METADATA,sha256=rYjzcKQP1KnM9rNvCwDut2ZdqClfb1nQodMr1oTa0D8,2156
18
+ flet_webview-0.70.0.dev6370.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ flet_webview-0.70.0.dev6370.dist-info/top_level.txt,sha256=svOnOxqAYWBe87-fr3VmmQm8S73eVhAu0t9O3MryqS4,21
20
+ flet_webview-0.70.0.dev6370.dist-info/RECORD,,