flet 0.70.0.dev6475__py3-none-any.whl → 0.70.0.dev6482__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/material/bottom_app_bar.py +32 -9
- flet/controls/material/floating_action_button.py +6 -6
- flet/version.py +1 -1
- {flet-0.70.0.dev6475.dist-info → flet-0.70.0.dev6482.dist-info}/METADATA +1 -1
- {flet-0.70.0.dev6475.dist-info → flet-0.70.0.dev6482.dist-info}/RECORD +8 -8
- {flet-0.70.0.dev6475.dist-info → flet-0.70.0.dev6482.dist-info}/WHEEL +0 -0
- {flet-0.70.0.dev6475.dist-info → flet-0.70.0.dev6482.dist-info}/entry_points.txt +0 -0
- {flet-0.70.0.dev6475.dist-info → flet-0.70.0.dev6482.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Optional
|
|
2
2
|
|
|
3
3
|
from flet.controls.base_control import control
|
|
4
|
+
from flet.controls.border_radius import BorderRadiusValue
|
|
4
5
|
from flet.controls.control import Control
|
|
5
6
|
from flet.controls.layout_control import LayoutControl
|
|
6
7
|
from flet.controls.padding import PaddingValue
|
|
@@ -23,12 +24,12 @@ class BottomAppBar(LayoutControl):
|
|
|
23
24
|
ft.BottomAppBar(
|
|
24
25
|
bgcolor=ft.Colors.SURFACE_CONTAINER_LOW,
|
|
25
26
|
content=ft.Row(
|
|
27
|
+
alignment=ft.MainAxisAlignment.SPACE_AROUND,
|
|
26
28
|
controls=[
|
|
27
29
|
ft.IconButton(ft.Icons.MENU),
|
|
28
30
|
ft.IconButton(ft.Icons.SEARCH),
|
|
29
31
|
ft.IconButton(ft.Icons.SETTINGS),
|
|
30
32
|
],
|
|
31
|
-
alignment=ft.MainAxisAlignment.SPACE_AROUND,
|
|
32
33
|
),
|
|
33
34
|
)
|
|
34
35
|
```
|
|
@@ -43,31 +44,43 @@ class BottomAppBar(LayoutControl):
|
|
|
43
44
|
"""
|
|
44
45
|
The fill color to use for this app bar.
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
that is `None`,
|
|
47
|
+
If `None`, [`BottomAppBarTheme.bgcolor`][flet.] is used;
|
|
48
|
+
if that is also `None`, then defaults to [`ColorScheme.surface`][flet.].
|
|
48
49
|
"""
|
|
49
50
|
|
|
50
51
|
shadow_color: Optional[ColorValue] = None
|
|
51
52
|
"""
|
|
52
53
|
The color of the shadow below this app bar.
|
|
54
|
+
|
|
55
|
+
If `None`, [`BottomAppBarTheme.shadow_color`][flet.] is used;
|
|
56
|
+
if that is also `None`, then defaults to [`Colors.TRANSPARENT`][flet.].
|
|
53
57
|
"""
|
|
54
58
|
|
|
55
59
|
padding: Optional[PaddingValue] = None
|
|
56
60
|
"""
|
|
57
61
|
Empty space to inscribe inside a container decoration (background, border).
|
|
58
62
|
|
|
59
|
-
|
|
60
|
-
that is `None`,
|
|
63
|
+
If `None`, [`BottomAppBarTheme.padding`][flet.] is used;
|
|
64
|
+
if that is also `None`, then defaults to
|
|
65
|
+
`Padding.symmetric(vertical=12.0, horizontal=16.0)`.
|
|
61
66
|
"""
|
|
62
67
|
|
|
63
|
-
clip_behavior: ClipBehavior =
|
|
68
|
+
clip_behavior: Optional[ClipBehavior] = None
|
|
64
69
|
"""
|
|
65
70
|
Defines how the [`content`][(c).] of this app bar should be clipped.
|
|
71
|
+
|
|
72
|
+
If `None`, defaults to:
|
|
73
|
+
- [`ClipBehavior.ANTI_ALIAS`][flet.] if [`border_radius`][(c).]
|
|
74
|
+
is set and not equal to [`BorderRadius.all(0)`][flet.BorderRadius.all];
|
|
75
|
+
- Else [`ClipBehavior.NONE`][flet.].
|
|
66
76
|
"""
|
|
67
77
|
|
|
68
78
|
shape: Optional[NotchShape] = None
|
|
69
79
|
"""
|
|
70
80
|
The notch that is made for the floating action button.
|
|
81
|
+
|
|
82
|
+
If `None`, [`BottomAppBarTheme.shape`][flet.] is used;
|
|
83
|
+
if that is also `None`, then the shape will be rectangular with no notch.
|
|
71
84
|
"""
|
|
72
85
|
|
|
73
86
|
notch_margin: Number = 4.0
|
|
@@ -75,15 +88,25 @@ class BottomAppBar(LayoutControl):
|
|
|
75
88
|
The margin between the [`FloatingActionButton`][flet.] and this
|
|
76
89
|
app bar's notch.
|
|
77
90
|
|
|
78
|
-
|
|
91
|
+
Note:
|
|
92
|
+
Has effect only if [`shape`][(c).] is not `None`.
|
|
79
93
|
"""
|
|
80
94
|
|
|
81
95
|
elevation: Optional[Number] = None
|
|
82
96
|
"""
|
|
83
|
-
|
|
97
|
+
The z-coordinate at which to place this bottom app bar relative to its
|
|
98
|
+
parent. It controls the size of the shadow below this app bar.
|
|
99
|
+
|
|
100
|
+
If `None`, [`BottomAppBarTheme.elevation`][flet.] is used;
|
|
101
|
+
if that is also `None`, then defaults to `3`.
|
|
84
102
|
|
|
85
103
|
Raises:
|
|
86
|
-
ValueError: If
|
|
104
|
+
ValueError: If it is less than `0`.
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
border_radius: Optional[BorderRadiusValue] = None
|
|
108
|
+
"""
|
|
109
|
+
The border radius to apply when clipping and painting this app bar.
|
|
87
110
|
"""
|
|
88
111
|
|
|
89
112
|
def before_update(self):
|
|
@@ -36,7 +36,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
36
36
|
The content of this button.
|
|
37
37
|
|
|
38
38
|
Raises:
|
|
39
|
-
ValueError: If neither [`icon`][(c).] nor a valid
|
|
39
|
+
ValueError: If neither [`icon`][(c).] nor a valid `content`
|
|
40
40
|
(string or visible Control) is provided.
|
|
41
41
|
"""
|
|
42
42
|
|
|
@@ -95,7 +95,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
95
95
|
Defaults to `6`.
|
|
96
96
|
|
|
97
97
|
Raises:
|
|
98
|
-
ValueError: If
|
|
98
|
+
ValueError: If it is less than `0`.
|
|
99
99
|
"""
|
|
100
100
|
|
|
101
101
|
disabled_elevation: Optional[Number] = None
|
|
@@ -105,7 +105,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
105
105
|
Defaults to the same value as `elevation`.
|
|
106
106
|
|
|
107
107
|
Raises:
|
|
108
|
-
ValueError: If
|
|
108
|
+
ValueError: If it is less than `0`.
|
|
109
109
|
"""
|
|
110
110
|
|
|
111
111
|
focus_elevation: Optional[Number] = None
|
|
@@ -115,7 +115,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
115
115
|
Defaults to `8`.
|
|
116
116
|
|
|
117
117
|
Raises:
|
|
118
|
-
ValueError: If
|
|
118
|
+
ValueError: If it is less than `0`.
|
|
119
119
|
"""
|
|
120
120
|
|
|
121
121
|
highlight_elevation: Optional[Number] = None
|
|
@@ -125,7 +125,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
125
125
|
Defaults to `12`.
|
|
126
126
|
|
|
127
127
|
Raises:
|
|
128
|
-
ValueError: If
|
|
128
|
+
ValueError: If it is less than `0`.
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
hover_elevation: Optional[Number] = None
|
|
@@ -135,7 +135,7 @@ class FloatingActionButton(LayoutControl):
|
|
|
135
135
|
Defaults to `8`.
|
|
136
136
|
|
|
137
137
|
Raises:
|
|
138
|
-
ValueError: If
|
|
138
|
+
ValueError: If it is less than `0`.
|
|
139
139
|
"""
|
|
140
140
|
|
|
141
141
|
hover_color: Optional[ColorValue] = None
|
flet/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
flet/__init__.py,sha256=39Ci10DOyWcl-9adUYDbIX7eR0PHsRELpESPQZnCw9M,26200
|
|
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=YdCCa3Uhd7hbkhtAB5dk9rk0BijwpZNexpWM3JJB01A,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
|
|
@@ -153,7 +153,7 @@ flet/controls/material/app_bar.py,sha256=hEaZLSSKcJc5WQ7BcIPhB0m5_C9CnBVOkiYiMYQ
|
|
|
153
153
|
flet/controls/material/auto_complete.py,sha256=hLH4cuhxno1wkh_JcX9RERe1_oaZIIkHjAVk9aR-1X8,2797
|
|
154
154
|
flet/controls/material/badge.py,sha256=gWkDrqoZMIrjEreWeTaANlnzJn394Gj4vQZikuVAEIk,3365
|
|
155
155
|
flet/controls/material/banner.py,sha256=gFj9oNpPMNiAMnFNWkZiUdgGcE6T72VVVw73BeIRMvU,4512
|
|
156
|
-
flet/controls/material/bottom_app_bar.py,sha256=
|
|
156
|
+
flet/controls/material/bottom_app_bar.py,sha256=KfHrlgKN0TVj3_15NCG7zFO0a0Q6UIbbQAPmhbvrXhg,3369
|
|
157
157
|
flet/controls/material/bottom_sheet.py,sha256=TRa6RgPiz3PLnmVHnJHXp3CW2pkZbx_RQ4ngnsuxjzc,3175
|
|
158
158
|
flet/controls/material/button.py,sha256=8_CLLvjPO9ZXsaGkJhO1a3cVbG2Abe-40cEQcT9BPpY,4189
|
|
159
159
|
flet/controls/material/card.py,sha256=kR87buDfX_mSTOlj4HRicq2hDfIRPyigIdLlxa5Q7Fw,2872
|
|
@@ -172,7 +172,7 @@ flet/controls/material/expansion_panel.py,sha256=hIPBDCT3Gq7oI2UlgqjhUHjCQWvvwjj
|
|
|
172
172
|
flet/controls/material/expansion_tile.py,sha256=sEAXoc7-FkjFUEIgM5pK3LVKIpjsTxI2BSedKvC9GSU,5744
|
|
173
173
|
flet/controls/material/filled_button.py,sha256=ZtCy47Yrv2B1RyDk1pszVKiUj-YtMcLI7koTf5Bz0Mo,452
|
|
174
174
|
flet/controls/material/filled_tonal_button.py,sha256=t9zXaMvakzmHUWtPfJK1ORAd8P3O5XCPi098PYAiOCU,574
|
|
175
|
-
flet/controls/material/floating_action_button.py,sha256=
|
|
175
|
+
flet/controls/material/floating_action_button.py,sha256=Qnprd6v7H_8OdMy8G6kTuHLIvkCtI8HxCi4URZx4OAw,5924
|
|
176
176
|
flet/controls/material/form_field_control.py,sha256=kTVeg-gfytcQdoF3bwaGu_N2kZXSR_180beNPPwTi-w,8678
|
|
177
177
|
flet/controls/material/icon_button.py,sha256=ZmOmOtk7fv1B2gWOvf0yTvwxxRdI7UDl5YsNLsEzLNA,7788
|
|
178
178
|
flet/controls/material/icons.py,sha256=dsBk2nwUW3SQjwpzPv8G53ILP_zCg7tJocylHQLC-RU,287261
|
|
@@ -247,8 +247,8 @@ flet/utils/platform_utils.py,sha256=U4cqV3EPi5QNYjbhfZmtk41-KMtI_P7KvVdnZzMOgJA,
|
|
|
247
247
|
flet/utils/slugify.py,sha256=e-lsoDc2_dk5jQnySaHCU83AA4O6mguEgCEdk2smW2Y,466
|
|
248
248
|
flet/utils/strings.py,sha256=R63_i7PdSAStCDPJ-O_WHBt3H02JQ14GSbnjLIpPTUc,178
|
|
249
249
|
flet/utils/vector.py,sha256=pYZzjldBWCZbSeSkZ8VmujwcZC7VBWk1NLBPA-2th3U,3207
|
|
250
|
-
flet-0.70.0.
|
|
251
|
-
flet-0.70.0.
|
|
252
|
-
flet-0.70.0.
|
|
253
|
-
flet-0.70.0.
|
|
254
|
-
flet-0.70.0.
|
|
250
|
+
flet-0.70.0.dev6482.dist-info/METADATA,sha256=WHU11xn9Cs_QiXuPOAj5yPDe_o4WzTlCFtNP22sTvog,6109
|
|
251
|
+
flet-0.70.0.dev6482.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
252
|
+
flet-0.70.0.dev6482.dist-info/entry_points.txt,sha256=mbBhHNUnLHiDqR36WeJrfLJU0Y0y087-M4wagQmaQ_Y,39
|
|
253
|
+
flet-0.70.0.dev6482.dist-info/top_level.txt,sha256=HbLrSnWJX2jZOEZAI14cGzW8Q5BbOGTtE-7knD5FDh0,5
|
|
254
|
+
flet-0.70.0.dev6482.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|