flet-lottie 0.1.0.dev1__py3-none-any.whl → 0.2.0.dev41__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-lottie might be problematic. Click here for more details.

@@ -1,41 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: flet-lottie
3
- Version: 0.1.0.dev1
4
- Summary: Lottie control for Flet
5
- Author-email: Flet contributors <hello@flet.dev>
6
- Project-URL: Homepage, https://flet.dev
7
- Project-URL: Documentation, https://flet.dev/docs/controls/lottie
8
- Project-URL: Repository, https://github.com/flet-dev/flet-lottie
9
- Project-URL: Issues, https://github.com/flet-dev/flet-lottie/issues
10
- Classifier: License :: OSI Approved :: Apache Software License
11
- Requires-Python: >=3.8
12
- Description-Content-Type: text/markdown
13
- Requires-Dist: flet>=0.25.2
14
-
15
- # Lottie control for Flet
16
-
17
- `Lottie` control for Flet.
18
-
19
- ## Usage
20
-
21
- Add `flet-lottie` as dependency (`pyproject.toml` or `requirements.txt`) to your Flet project.
22
-
23
- ## Example
24
-
25
- ```py
26
-
27
- import flet as ft
28
-
29
- import flet_lottie as fl
30
-
31
- def main(page: ft.Page):
32
- page.add(
33
- fl.Lottie(
34
- src='https://raw.githubusercontent.com/xvrh/lottie-flutter/master/example/assets/Mobilo/A.json',
35
- reverse=False,
36
- animate=True
37
- )
38
- )
39
-
40
- ft.app(main)
41
- ```
@@ -1,15 +0,0 @@
1
- flet_lottie/__init__.py,sha256=e8_VpT6mT4yC1IF-7NjQrGiW1TIBbesNnVvSSGxUNm8,38
2
- flet_lottie/lottie.py,sha256=6gy5rs32w6CKj0yWswbGOhWSlDKFahiYtTtNiCUHm7M,6036
3
- flutter/flet_lottie/CHANGELOG.md,sha256=66sWepPaeTc9_lzcYIGU55AlxSU5Z1XVtknXpzd_-p8,40
4
- flutter/flet_lottie/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
5
- flutter/flet_lottie/README.md,sha256=OgI2ZU2SVP2IEyl49IASnC7Al17h1FQ035nKSP6UPaU,62
6
- flutter/flet_lottie/analysis_options.yaml,sha256=32kjGAc-zF87inWaH5M46yGZWQDTwrwfvNLHeAocfG4,154
7
- flutter/flet_lottie/pubspec.lock,sha256=19aBymIO3EKxEJ1rPnLkVe-KdWvysp84j-XywnHcefc,21719
8
- flutter/flet_lottie/pubspec.yaml,sha256=gy879DFyILNCCmi6urn-94hp3X8ZOT3--KDZo_JiVY4,400
9
- flutter/flet_lottie/lib/flet_lottie.dart,sha256=ltxM--uFYdcAz5UVJhghsti9jpez9luCKWQCXsYjV0Q,94
10
- flutter/flet_lottie/lib/src/create_control.dart,sha256=KdajvErun6n5cgXJax_nvH7RLcjxvEowfzrZVgb4LVs,430
11
- flutter/flet_lottie/lib/src/lottie.dart,sha256=V4chMQGXasZrtU5jgy_8ZlRkQsViZBZ-mqywnXxPXSY,3136
12
- flet_lottie-0.1.0.dev1.dist-info/METADATA,sha256=zh-rfTfyT_KEx9Z75fsoPJdhsn09S0FhdDHHLmgqdF4,1014
13
- flet_lottie-0.1.0.dev1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
- flet_lottie-0.1.0.dev1.dist-info/top_level.txt,sha256=RFKJcUq-1rW9i9tkjYL1AzMuJFXiAqoWK0YIjIG3Gj8,20
15
- flet_lottie-0.1.0.dev1.dist-info/RECORD,,
@@ -1,20 +0,0 @@
1
- import 'package:flet/flet.dart';
2
-
3
- import 'lottie.dart';
4
-
5
- CreateControlFactory createControl = (CreateControlArgs args) {
6
- switch (args.control.type) {
7
- case "lottie":
8
- return LottieControl(
9
- parent: args.parent,
10
- control: args.control,
11
- nextChild: args.nextChild,
12
- backend: args.backend);
13
- default:
14
- return null;
15
- }
16
- };
17
-
18
- void ensureInitialized() {
19
- // nothing to initialize
20
- }