flet 0.70.0.dev6293__py3-none-any.whl → 0.70.0.dev6301__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 might be problematic. Click here for more details.
- flet/controls/core/markdown.py +7 -0
- flet/controls/material/alert_dialog.py +9 -0
- flet/controls/material/app_bar.py +12 -0
- flet/controls/material/badge.py +7 -0
- flet/controls/material/banner.py +11 -0
- flet/version.py +1 -1
- {flet-0.70.0.dev6293.dist-info → flet-0.70.0.dev6301.dist-info}/METADATA +1 -1
- {flet-0.70.0.dev6293.dist-info → flet-0.70.0.dev6301.dist-info}/RECORD +11 -11
- {flet-0.70.0.dev6293.dist-info → flet-0.70.0.dev6301.dist-info}/WHEEL +0 -0
- {flet-0.70.0.dev6293.dist-info → flet-0.70.0.dev6301.dist-info}/entry_points.txt +0 -0
- {flet-0.70.0.dev6293.dist-info → flet-0.70.0.dev6301.dist-info}/top_level.txt +0 -0
flet/controls/core/markdown.py
CHANGED
|
@@ -233,6 +233,13 @@ class MarkdownCustomCodeTheme:
|
|
|
233
233
|
class Markdown(LayoutControl):
|
|
234
234
|
"""
|
|
235
235
|
Renders text in markdown format.
|
|
236
|
+
|
|
237
|
+
```python
|
|
238
|
+
ft.Markdown(
|
|
239
|
+
value="# Welcome\\n\\nThis is **Markdown** rendered in Flet.",
|
|
240
|
+
width=260,
|
|
241
|
+
)
|
|
242
|
+
```
|
|
236
243
|
"""
|
|
237
244
|
|
|
238
245
|
value: str = ""
|
|
@@ -27,6 +27,15 @@ class AlertDialog(DialogControl):
|
|
|
27
27
|
It has an optional [`title`][(c).] and an optional list of [`actions`][(c).] . The
|
|
28
28
|
`title` is displayed above the [`content`][(c).] and the `actions` are displayed
|
|
29
29
|
below the `content`.
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
ft.AlertDialog(
|
|
33
|
+
title=ft.Text("Session expired"),
|
|
34
|
+
content=ft.Text("Please sign in again to continue."),
|
|
35
|
+
actions=[ft.TextButton("Dismiss")],
|
|
36
|
+
open=True,
|
|
37
|
+
)
|
|
38
|
+
```
|
|
30
39
|
"""
|
|
31
40
|
|
|
32
41
|
content: Optional[Control] = None
|
|
@@ -18,6 +18,18 @@ from flet.controls.types import (
|
|
|
18
18
|
class AppBar(AdaptiveControl):
|
|
19
19
|
"""
|
|
20
20
|
A material design app bar.
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
ft.AppBar(
|
|
24
|
+
leading=ft.Icon(ft.Icons.MENU),
|
|
25
|
+
title=ft.Text("Dashboard"),
|
|
26
|
+
actions=[
|
|
27
|
+
ft.IconButton(ft.Icons.SEARCH),
|
|
28
|
+
ft.IconButton(ft.Icons.MORE_VERT),
|
|
29
|
+
],
|
|
30
|
+
bgcolor=ft.Colors.SURFACE_CONTAINER,
|
|
31
|
+
)
|
|
32
|
+
```
|
|
21
33
|
"""
|
|
22
34
|
|
|
23
35
|
leading: Optional[Control] = None
|
flet/controls/material/badge.py
CHANGED
|
@@ -16,6 +16,13 @@ class Badge(BaseControl):
|
|
|
16
16
|
Badges are used to show notifications, counts, or status information on navigation
|
|
17
17
|
items such as [`NavigationBar`][flet.] or [`NavigationRail`][flet.] destinations
|
|
18
18
|
or a button's icon.
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
ft.FilledIconButton(
|
|
22
|
+
icon=ft.Icons.PHONE,
|
|
23
|
+
badge=ft.Badge(label="3"),
|
|
24
|
+
)
|
|
25
|
+
```
|
|
19
26
|
"""
|
|
20
27
|
|
|
21
28
|
label: Optional[StrOrControl] = None
|
flet/controls/material/banner.py
CHANGED
|
@@ -26,6 +26,17 @@ class Banner(DialogControl):
|
|
|
26
26
|
Banners are displayed at the top of the screen, below a top app bar. They are
|
|
27
27
|
persistent and non-modal, allowing the user to either ignore them or interact with
|
|
28
28
|
them at any time.
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
banner = ft.Banner(
|
|
32
|
+
leading=ft.Icon(ft.Icons.INFO_OUTLINED, color=ft.Colors.PRIMARY),
|
|
33
|
+
content=ft.Text("Backup completed successfully."),
|
|
34
|
+
actions=[ft.TextButton("Dismiss")],
|
|
35
|
+
bgcolor=ft.Colors.SURFACE_CONTAINER_LOW,
|
|
36
|
+
open=True,
|
|
37
|
+
)
|
|
38
|
+
page.show_dialog(banner)
|
|
39
|
+
```
|
|
29
40
|
"""
|
|
30
41
|
|
|
31
42
|
content: StrOrControl
|
flet/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
flet/__init__.py,sha256=rj0DuM9ZNrzkM-TpQ35iIspYLzsrxOCwkVxOHRX6oiU,26152
|
|
2
2
|
flet/app.py,sha256=HSws0Zm4ZO0-Hp2P9h7xirCVnRkKCVXhuekyAXT_9Fo,11883
|
|
3
3
|
flet/cli.py,sha256=IUM25fY_sqMtl0hlQGhlMQaBb1oNyO0VZeeBgRodhuA,204
|
|
4
|
-
flet/version.py,sha256=
|
|
4
|
+
flet/version.py,sha256=3LidJpQBwyb1TuzvaMEsNdaZFwLamwz_IL92rCcEKEs,2512
|
|
5
5
|
flet/auth/__init__.py,sha256=eDqmi0Ki8Resd198S7XxgYa2R14wnNqIXnYhBLPl8fQ,289
|
|
6
6
|
flet/auth/authorization.py,sha256=hP_36RiRPtSwmK_Yp6MMzAjQdDxbBiEcZ2yFNqyNiRs,357
|
|
7
7
|
flet/auth/authorization_service.py,sha256=6N2LvisSt7KI_VgfyCH0OaJ6jTcmXCkAldN1yYlakzQ,6410
|
|
@@ -87,7 +87,7 @@ flet/controls/core/image.py,sha256=Qbooag88pvfqUq-hzf6C-Q1awib_bT3_cOeEAGhyjDA,5
|
|
|
87
87
|
flet/controls/core/interactive_viewer.py,sha256=xiS6UMOzTHed7xAnOr3D0Yi-Msv40wR_ugudRayi2lg,4897
|
|
88
88
|
flet/controls/core/keyboard_listener.py,sha256=Rml7c7pHNzTyBiSbW15cUXwhr5YddTrSo98z2tzWhaI,2527
|
|
89
89
|
flet/controls/core/list_view.py,sha256=zyWHHG8Tpr4VYztQFWA_mRipLXKO6bVJ-Ra1Gso4qp4,3273
|
|
90
|
-
flet/controls/core/markdown.py,sha256=
|
|
90
|
+
flet/controls/core/markdown.py,sha256=m6CE398R7uNpvNzxtRH3lS13It5-SBg79WvMToNidLo,11075
|
|
91
91
|
flet/controls/core/merge_semantics.py,sha256=o2olHjIDU-QNKAc8JHdQABiZUKeR4dWJApOCEcBaFF4,627
|
|
92
92
|
flet/controls/core/pagelet.py,sha256=VCcPOtlqfL-A0vnDKsUkVdKZkveFVvk5sK_8oWsESpU,4163
|
|
93
93
|
flet/controls/core/placeholder.py,sha256=XqqP1QmjlboezVKIrwZHA4FCcl06cptqxvYQs7kVkB8,992
|
|
@@ -148,11 +148,11 @@ flet/controls/cupertino/cupertino_textfield.py,sha256=Iu_6ZQCBj34iAFtmboZb909fD7
|
|
|
148
148
|
flet/controls/cupertino/cupertino_timer_picker.py,sha256=BNS2W8hUfiozKpiUZueo1h4_6YhxAd5zknR3WAGbs54,4438
|
|
149
149
|
flet/controls/cupertino/cupertino_tinted_button.py,sha256=SmLukUZWYU_c2roz81a1hY7x6KLYr3RaP2TKyLxVIXM,375
|
|
150
150
|
flet/controls/material/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
|
-
flet/controls/material/alert_dialog.py,sha256=
|
|
152
|
-
flet/controls/material/app_bar.py,sha256=
|
|
151
|
+
flet/controls/material/alert_dialog.py,sha256=_6D1a0iBDNImmExHjXzpxyGOnEA0DLk2Cj_Akl_uXio,7822
|
|
152
|
+
flet/controls/material/app_bar.py,sha256=Ol2UNCcUGi8HLmIdaxGQtIr-CM5HSD2iKIPg6Za1iOk,6703
|
|
153
153
|
flet/controls/material/auto_complete.py,sha256=MVesy4fUvLvY0pw_BDQXpRB5o9ac1Ci7icTdG4nC5oM,1856
|
|
154
|
-
flet/controls/material/badge.py,sha256=
|
|
155
|
-
flet/controls/material/banner.py,sha256=
|
|
154
|
+
flet/controls/material/badge.py,sha256=gWkDrqoZMIrjEreWeTaANlnzJn394Gj4vQZikuVAEIk,3365
|
|
155
|
+
flet/controls/material/banner.py,sha256=gFj9oNpPMNiAMnFNWkZiUdgGcE6T72VVVw73BeIRMvU,4512
|
|
156
156
|
flet/controls/material/bottom_app_bar.py,sha256=Rrx4LhiFxKkTAhyblvcuNenLuxNxc93tmlUULgKeVqo,2083
|
|
157
157
|
flet/controls/material/bottom_sheet.py,sha256=fQE725QwN0mxknh_CdkWIAPC5DHV1tzW_mCT-CzX9ZY,2791
|
|
158
158
|
flet/controls/material/button.py,sha256=8_CLLvjPO9ZXsaGkJhO1a3cVbG2Abe-40cEQcT9BPpY,4189
|
|
@@ -246,8 +246,8 @@ flet/utils/platform_utils.py,sha256=U4cqV3EPi5QNYjbhfZmtk41-KMtI_P7KvVdnZzMOgJA,
|
|
|
246
246
|
flet/utils/slugify.py,sha256=e-lsoDc2_dk5jQnySaHCU83AA4O6mguEgCEdk2smW2Y,466
|
|
247
247
|
flet/utils/strings.py,sha256=R63_i7PdSAStCDPJ-O_WHBt3H02JQ14GSbnjLIpPTUc,178
|
|
248
248
|
flet/utils/vector.py,sha256=pYZzjldBWCZbSeSkZ8VmujwcZC7VBWk1NLBPA-2th3U,3207
|
|
249
|
-
flet-0.70.0.
|
|
250
|
-
flet-0.70.0.
|
|
251
|
-
flet-0.70.0.
|
|
252
|
-
flet-0.70.0.
|
|
253
|
-
flet-0.70.0.
|
|
249
|
+
flet-0.70.0.dev6301.dist-info/METADATA,sha256=MvQ164VTORzFbpf8Dn1fBYlyO6ZyN5XWYAtyLdV6fRs,6051
|
|
250
|
+
flet-0.70.0.dev6301.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
251
|
+
flet-0.70.0.dev6301.dist-info/entry_points.txt,sha256=mbBhHNUnLHiDqR36WeJrfLJU0Y0y087-M4wagQmaQ_Y,39
|
|
252
|
+
flet-0.70.0.dev6301.dist-info/top_level.txt,sha256=HbLrSnWJX2jZOEZAI14cGzW8Q5BbOGTtE-7knD5FDh0,5
|
|
253
|
+
flet-0.70.0.dev6301.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|