flet-lottie 0.2.0.dev36__tar.gz → 0.2.0.dev48__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.2.0.dev36/src/flet_lottie.egg-info → flet_lottie-0.2.0.dev48}/PKG-INFO +2 -2
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/pyproject.toml +2 -2
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie/lottie.py +23 -15
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48/src/flet_lottie.egg-info}/PKG-INFO +2 -2
- flet_lottie-0.2.0.dev48/src/flet_lottie.egg-info/requires.txt +1 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/pubspec.lock +4 -4
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/pubspec.yaml +1 -1
- flet_lottie-0.2.0.dev36/src/flet_lottie.egg-info/requires.txt +0 -1
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/LICENSE +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/README.md +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/setup.cfg +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie/__init__.py +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie.egg-info/SOURCES.txt +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie.egg-info/dependency_links.txt +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie.egg-info/top_level.txt +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/CHANGELOG.md +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/LICENSE +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/README.md +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/analysis_options.yaml +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/flet_lottie.dart +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/src/extension.dart +0 -0
- {flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/src/lottie.dart +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-lottie
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev48
|
|
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-lottie/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.dev0
|
|
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.2.0.
|
|
3
|
+
version = "0.2.0.dev48"
|
|
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.dev0",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
|
@@ -11,16 +11,19 @@ class Lottie(ft.ConstrainedControl):
|
|
|
11
11
|
Displays lottie animations.
|
|
12
12
|
|
|
13
13
|
Raises:
|
|
14
|
-
AssertionError: If neither `src` nor
|
|
14
|
+
AssertionError: If neither [`src`][(c).] nor
|
|
15
|
+
[`src_base64`][(c).] is provided.
|
|
15
16
|
"""
|
|
16
17
|
|
|
17
18
|
src: Optional[str] = None
|
|
18
19
|
"""
|
|
19
|
-
The source of the Lottie file.
|
|
20
|
+
The source of the Lottie file.
|
|
21
|
+
|
|
22
|
+
Can be a URL or a local [asset file](https://flet.dev/docs/cookbook/assets).
|
|
20
23
|
|
|
21
24
|
Note:
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
If both `src` and [`src_base64`][..] are provided,
|
|
26
|
+
`src_base64` will be prioritized/used.
|
|
24
27
|
"""
|
|
25
28
|
|
|
26
29
|
src_base64: Optional[str] = None
|
|
@@ -28,20 +31,24 @@ class Lottie(ft.ConstrainedControl):
|
|
|
28
31
|
The base64 encoded string of the Lottie file.
|
|
29
32
|
|
|
30
33
|
Note:
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
If both `src_base64` and [`src`][..] are provided,
|
|
35
|
+
`src_base64` will be prioritized/used.
|
|
33
36
|
"""
|
|
34
37
|
|
|
35
38
|
repeat: bool = True
|
|
36
39
|
"""
|
|
37
|
-
Whether the animation should repeat in a loop.
|
|
40
|
+
Whether the animation should repeat in a loop.
|
|
41
|
+
|
|
42
|
+
Note:
|
|
43
|
+
Has no effect if [`animate`][..] is `False`.
|
|
38
44
|
"""
|
|
39
45
|
|
|
40
46
|
reverse: bool = False
|
|
41
47
|
"""
|
|
42
48
|
Whether the animation should be played in reverse (from start to end and then continuously from end to start).
|
|
43
49
|
|
|
44
|
-
|
|
50
|
+
Note:
|
|
51
|
+
Has no effect if [`animate`][..] or [`repeat`][..] is `False`.
|
|
45
52
|
"""
|
|
46
53
|
|
|
47
54
|
animate: bool = True
|
|
@@ -69,11 +76,10 @@ class Lottie(ft.ConstrainedControl):
|
|
|
69
76
|
The quality of the image layer.
|
|
70
77
|
"""
|
|
71
78
|
|
|
72
|
-
fit: Optional[ft.
|
|
79
|
+
fit: Optional[ft.BoxFit] = None
|
|
73
80
|
"""
|
|
74
|
-
Defines how to inscribe the Lottie composition
|
|
75
|
-
|
|
76
|
-
Value is of type [`ImageFit`](https://flet.dev/docs/reference/types/imagefit).
|
|
81
|
+
Defines how to inscribe the Lottie composition
|
|
82
|
+
into the space allocated during layout.
|
|
77
83
|
"""
|
|
78
84
|
|
|
79
85
|
headers: Optional[Dict[str, str]] = None
|
|
@@ -83,16 +89,18 @@ class Lottie(ft.ConstrainedControl):
|
|
|
83
89
|
|
|
84
90
|
error_content: Optional[ft.Control] = None
|
|
85
91
|
"""
|
|
86
|
-
A control to display when an error occurs
|
|
92
|
+
A control to display when an error occurs
|
|
93
|
+
while loading the Lottie animation.
|
|
87
94
|
|
|
88
95
|
For more information on the error, see [`on_error`][..].
|
|
89
96
|
"""
|
|
90
97
|
|
|
91
|
-
on_error: ft.
|
|
98
|
+
on_error: Optional[ft.ControlEventHandler["Lottie"]] = None
|
|
92
99
|
"""
|
|
93
100
|
Fires when an error occurs while loading the Lottie animation.
|
|
94
101
|
|
|
95
|
-
The `data` property of the event handler argument
|
|
102
|
+
The `data` property of the event handler argument
|
|
103
|
+
contains information on the error.
|
|
96
104
|
"""
|
|
97
105
|
|
|
98
106
|
def before_update(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-lottie
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev48
|
|
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-lottie/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.dev0
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-lottie
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet>=0.70.0.dev0
|
|
@@ -133,8 +133,8 @@ packages:
|
|
|
133
133
|
dependency: "direct main"
|
|
134
134
|
description:
|
|
135
135
|
path: "packages/flet"
|
|
136
|
-
ref:
|
|
137
|
-
resolved-ref:
|
|
136
|
+
ref: main
|
|
137
|
+
resolved-ref: be4c22de198efdf5d317bd5806b7d6903b1e180e
|
|
138
138
|
url: "https://github.com/flet-dev/flet.git"
|
|
139
139
|
source: git
|
|
140
140
|
version: "0.70.0"
|
|
@@ -751,10 +751,10 @@ packages:
|
|
|
751
751
|
dependency: transitive
|
|
752
752
|
description:
|
|
753
753
|
name: window_manager
|
|
754
|
-
sha256: "
|
|
754
|
+
sha256: "7eb6d6c4164ec08e1bf978d6e733f3cebe792e2a23fb07cbca25c2872bfdbdcd"
|
|
755
755
|
url: "https://pub.dev"
|
|
756
756
|
source: hosted
|
|
757
|
-
version: "0.5.
|
|
757
|
+
version: "0.5.1"
|
|
758
758
|
window_to_front:
|
|
759
759
|
dependency: transitive
|
|
760
760
|
description:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet>=0.70.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flet_lottie.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/analysis_options.yaml
RENAMED
|
File without changes
|
{flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/flet_lottie.dart
RENAMED
|
File without changes
|
{flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/src/extension.dart
RENAMED
|
File without changes
|
{flet_lottie-0.2.0.dev36 → flet_lottie-0.2.0.dev48}/src/flutter/flet_lottie/lib/src/lottie.dart
RENAMED
|
File without changes
|