flet-lottie 0.70.0.dev6365__tar.gz → 0.70.0.dev6412__tar.gz
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-lottie might be problematic. Click here for more details.
- {flet_lottie-0.70.0.dev6365/src/flet_lottie.egg-info → flet_lottie-0.70.0.dev6412}/PKG-INFO +2 -2
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/pyproject.toml +2 -2
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie/lottie.py +10 -13
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412/src/flet_lottie.egg-info}/PKG-INFO +2 -2
- flet_lottie-0.70.0.dev6412/src/flet_lottie.egg-info/requires.txt +1 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/pubspec.lock +2 -2
- flet_lottie-0.70.0.dev6365/src/flet_lottie.egg-info/requires.txt +0 -1
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/LICENSE +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/README.md +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/setup.cfg +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie/__init__.py +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie.egg-info/SOURCES.txt +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie.egg-info/dependency_links.txt +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie.egg-info/top_level.txt +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/analysis_options.yaml +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/lib/flet_lottie.dart +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/lib/src/extension.dart +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/lib/src/lottie.dart +0 -0
- {flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/pubspec.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-lottie
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6412
|
|
4
4
|
Summary: Display Lottie animations in Flet apps.
|
|
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.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6412
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-lottie
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-lottie"
|
|
3
|
-
version = "0.70.0.
|
|
3
|
+
version = "0.70.0.dev6412"
|
|
4
4
|
description = "Display Lottie animations in Flet apps."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"flet==0.70.0.
|
|
10
|
+
"flet==0.70.0.dev6412",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
|
@@ -15,15 +15,14 @@ class Lottie(ft.LayoutControl):
|
|
|
15
15
|
"""
|
|
16
16
|
The source of the Lottie file.
|
|
17
17
|
|
|
18
|
-
Can be a URL or a local [asset file](https://flet.dev/
|
|
18
|
+
Can be a URL or a local [asset file](https://docs.flet.dev/cookbook/assets).
|
|
19
19
|
|
|
20
20
|
Note:
|
|
21
|
-
If both `src` and [`src_base64`][
|
|
21
|
+
If both `src` and [`src_base64`][(c).] are provided,
|
|
22
22
|
`src_base64` will be prioritized/used.
|
|
23
23
|
|
|
24
24
|
Raises:
|
|
25
|
-
|
|
26
|
-
[`src_base64`][(c).] is provided.
|
|
25
|
+
ValueError: If neither `src` nor [`src_base64`][(c).] is provided.
|
|
27
26
|
"""
|
|
28
27
|
|
|
29
28
|
src_base64: Optional[str] = None
|
|
@@ -31,12 +30,11 @@ class Lottie(ft.LayoutControl):
|
|
|
31
30
|
The base64 encoded string of the Lottie file.
|
|
32
31
|
|
|
33
32
|
Note:
|
|
34
|
-
If both `src_base64` and [`src`][
|
|
33
|
+
If both `src_base64` and [`src`][(c).] are provided,
|
|
35
34
|
`src_base64` will be prioritized/used.
|
|
36
35
|
|
|
37
36
|
Raises:
|
|
38
|
-
|
|
39
|
-
[`src_base64`][(c).] is provided.
|
|
37
|
+
ValueError: If neither `src_base64` nor [`src`][(c).] is provided.
|
|
40
38
|
"""
|
|
41
39
|
|
|
42
40
|
repeat: bool = True
|
|
@@ -44,7 +42,7 @@ class Lottie(ft.LayoutControl):
|
|
|
44
42
|
Whether the animation should repeat in a loop.
|
|
45
43
|
|
|
46
44
|
Note:
|
|
47
|
-
Has no effect if [`animate`][
|
|
45
|
+
Has no effect if [`animate`][(c).] is `False`.
|
|
48
46
|
"""
|
|
49
47
|
|
|
50
48
|
reverse: bool = False
|
|
@@ -53,7 +51,7 @@ class Lottie(ft.LayoutControl):
|
|
|
53
51
|
(from start to end and then continuously from end to start).
|
|
54
52
|
|
|
55
53
|
Note:
|
|
56
|
-
Has no effect if [`animate`][
|
|
54
|
+
Has no effect if [`animate`][(c).] or [`repeat`][(c).] is `False`.
|
|
57
55
|
"""
|
|
58
56
|
|
|
59
57
|
animate: bool = True
|
|
@@ -97,7 +95,7 @@ class Lottie(ft.LayoutControl):
|
|
|
97
95
|
A control to display when an error occurs
|
|
98
96
|
while loading the Lottie animation.
|
|
99
97
|
|
|
100
|
-
For more information on the error, see [`on_error`][
|
|
98
|
+
For more information on the error, see [`on_error`][(c).].
|
|
101
99
|
"""
|
|
102
100
|
|
|
103
101
|
on_error: Optional[ft.ControlEventHandler["Lottie"]] = None
|
|
@@ -110,6 +108,5 @@ class Lottie(ft.LayoutControl):
|
|
|
110
108
|
|
|
111
109
|
def before_update(self):
|
|
112
110
|
super().before_update()
|
|
113
|
-
|
|
114
|
-
"at least one of src and src_base64 must be provided"
|
|
115
|
-
)
|
|
111
|
+
if not (self.src or self.src_base64):
|
|
112
|
+
raise ValueError("at least one of src and src_base64 must be provided")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-lottie
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6412
|
|
4
4
|
Summary: Display Lottie animations in Flet apps.
|
|
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.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6412
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-lottie
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.70.0.dev6412
|
{flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/pubspec.lock
RENAMED
|
@@ -85,10 +85,10 @@ packages:
|
|
|
85
85
|
dependency: transitive
|
|
86
86
|
description:
|
|
87
87
|
name: device_info_plus
|
|
88
|
-
sha256:
|
|
88
|
+
sha256: dd0e8e02186b2196c7848c9d394a5fd6e5b57a43a546082c5820b1ec72317e33
|
|
89
89
|
url: "https://pub.dev"
|
|
90
90
|
source: hosted
|
|
91
|
-
version: "12.
|
|
91
|
+
version: "12.2.0"
|
|
92
92
|
device_info_plus_platform_interface:
|
|
93
93
|
dependency: transitive
|
|
94
94
|
description:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet==0.70.0.dev6365
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flet_lottie.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_lottie-0.70.0.dev6365 → flet_lottie-0.70.0.dev6412}/src/flutter/flet_lottie/pubspec.yaml
RENAMED
|
File without changes
|