File tree 8 files changed +33
-9
lines changed 8 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Flet changelog
2
2
3
+ ## 0.10.2
4
+
5
+ * Wrapped --codesign-identity & --add-binary for flet pack ([ #1789 ] ( https://github.com/flet-dev/flet/issues/1789 ) ).
6
+ * Fix incomplete code blocks in ` flet_core/page.py ` .
7
+ * Fix disabled color of FilledButtons.
8
+ * Add ` AppView ` and ` WebRenderer ` enums to flet-pyodide.
9
+ * Pyodide v0.24.0.
10
+
3
11
## 0.10.1
4
12
5
13
* Fix Cavas.Text drawing ([ #1783 ] ( https://github.com/flet-dev/flet/issues/1783 ) )
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ packages:
183
183
path: "../package"
184
184
relative: true
185
185
source: path
186
- version: "0.10.1 "
186
+ version: "0.10.2 "
187
187
flutter:
188
188
dependency: "direct main"
189
189
description: flutter
Original file line number Diff line number Diff line change 1
- importScripts ( "https://cdn.jsdelivr.net/pyodide/v0.23 .0/full/pyodide.js" ) ;
1
+ importScripts ( "https://cdn.jsdelivr.net/pyodide/v0.24 .0/full/pyodide.js" ) ;
2
2
3
3
self . micropipIncludePre = false ;
4
4
self . pythonModuleName = null ;
Original file line number Diff line number Diff line change
1
+ ## 0.10.2
2
+
3
+ * Wrapped --codesign-identity & --add-binary for flet pack ([ #1789 ] ( https://github.com/flet-dev/flet/issues/1789 ) ).
4
+ * Fix incomplete code blocks in ` flet_core/page.py ` .
5
+ * Fix disabled color of FilledButtons.
6
+ * Add ` AppView ` and ` WebRenderer ` enums to flet-pyodide.
7
+ * Pyodide v0.24.0.
8
+
1
9
## 0.10.1
2
10
3
11
* Fix Cavas.Text drawing ([ #1783 ] ( https://github.com/flet-dev/flet/issues/1783 ) )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: flet
2
2
description : Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
3
3
homepage : https://flet.dev
4
4
repository : https://github.com/flet-dev/flet
5
- version : 0.10.1
5
+ version : 0.10.2
6
6
7
7
# This package supports all platforms listed below.
8
8
platforms :
Original file line number Diff line number Diff line change @@ -148,10 +148,10 @@ def _before_build_command(self):
148
148
):
149
149
if self .__style is None :
150
150
self .__style = ButtonStyle ()
151
- if self .__style .color != self .__color and not self .disabled :
152
- self .__style .color = self .__color
153
- if self .__style .bgcolor != self .__bgcolor and not self .disabled :
154
- self .__style .bgcolor = self .__bgcolor
151
+ if self .__style .color != self .__color or self .disabled :
152
+ self .__style .color = self .__color if not self . disabled else None
153
+ if self .__style .bgcolor != self .__bgcolor or self .disabled :
154
+ self .__style .bgcolor = self .__bgcolor if not self . disabled else None
155
155
if self .__style .elevation != self .__elevation :
156
156
self .__style .elevation = self .__elevation
157
157
if self .__style is not None :
Original file line number Diff line number Diff line change @@ -1691,7 +1691,7 @@ def on_scroll_interval(self) -> OptionalNumber:
1691
1691
1692
1692
@on_scroll_interval .setter
1693
1693
def on_scroll_interval (self , value : OptionalNumber ):
1694
- self .__default_view .on_scroll_interval
1694
+ self .__default_view .on_scroll_interval = value
1695
1695
1696
1696
# on_close
1697
1697
@property
@@ -1808,7 +1808,7 @@ def on_scroll(self):
1808
1808
1809
1809
@on_scroll .setter
1810
1810
def on_scroll (self , handler ):
1811
- self .__default_view .on_scroll
1811
+ self .__default_view .on_scroll = handler
1812
1812
1813
1813
1814
1814
class Offstage (Control ):
Original file line number Diff line number Diff line change 1
1
from flet .flet import app , app_async
2
2
from flet_core import *
3
+ from flet_core .types import (
4
+ FLET_APP ,
5
+ FLET_APP_HIDDEN ,
6
+ FLET_APP_WEB ,
7
+ WEB_BROWSER ,
8
+ AppView ,
9
+ WebRenderer ,
10
+ )
You can’t perform that action at this time.
0 commit comments