Skip to content

Commit 8f841f8

Browse files
committed
Release Flet 0.80.1 and update documentation
Bump Flet version to 0.80.1 and update CHANGELOGs with latest changes, including fixes for `flet publish` and Gallery examples. Update Flutter version in .fvmrc to 3.38.5. Revise README to require Python 3.10+, update code samples for latest API, and update dependencies in client/pubspec.lock.
1 parent b4e98ff commit 8f841f8

File tree

6 files changed

+46
-37
lines changed

6 files changed

+46
-37
lines changed

.fvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"flutter": "3.38.3"
2+
"flutter": "3.38.5"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Flet changelog
22

3+
## 0.80.1
4+
5+
* Fix `flet publish` to sub-directories, Icons Browser and other Gallery examples updated [#5964](https://github.com/flet-dev/flet/pull/5964).
6+
7+
## 0.80.0
8+
9+
* **Flet 1.0 Beta Release**[Read the announcement](https://flet.dev/blog/flet-1-0-beta)
10+
311
## 0.70.0
412

513
* **Flet 1.0 Alpha Released**[Read the announcement](https://flet.dev/blog/introducing-flet-1-0-alpha)

client/pubspec.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ packages:
269269
dependency: transitive
270270
description:
271271
name: file_picker
272-
sha256: "7872545770c277236fd32b022767576c562ba28366204ff1a5628853cf8f2200"
272+
sha256: d974b6ba2606371ac71dd94254beefb6fa81185bde0b59bdc1df09885da85fde
273273
url: "https://pub.dev"
274274
source: hosted
275-
version: "10.3.7"
275+
version: "10.3.8"
276276
fixnum:
277277
dependency: transitive
278278
description:
@@ -295,7 +295,7 @@ packages:
295295
path: "../packages/flet"
296296
relative: true
297297
source: path
298-
version: "0.80.0"
298+
version: "0.80.1"
299299
flet_ads:
300300
dependency: "direct main"
301301
description:
@@ -446,10 +446,10 @@ packages:
446446
dependency: transitive
447447
description:
448448
name: flutter_markdown
449-
sha256: e7bbc718adc9476aa14cfddc1ef048d2e21e4e8f18311aaac723266db9f9e7b5
449+
sha256: "08fb8315236099ff8e90cb87bb2b935e0a724a3af1623000a9cec930468e0f27"
450450
url: "https://pub.dev"
451451
source: hosted
452-
version: "0.7.6+2"
452+
version: "0.7.7+1"
453453
flutter_plugin_android_lifecycle:
454454
dependency: transitive
455455
description:
@@ -462,10 +462,10 @@ packages:
462462
dependency: transitive
463463
description:
464464
name: flutter_svg
465-
sha256: b9c2ad5872518a27507ab432d1fb97e8813b05f0fc693f9d40fad06d073e0678
465+
sha256: "87fbd7c534435b6c5d9d98b01e1fd527812b82e68ddd8bd35fc45ed0fa8f0a95"
466466
url: "https://pub.dev"
467467
source: hosted
468-
version: "2.2.1"
468+
version: "2.2.3"
469469
flutter_test:
470470
dependency: "direct dev"
471471
description: flutter
@@ -581,10 +581,10 @@ packages:
581581
dependency: transitive
582582
description:
583583
name: http
584-
sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007
584+
sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412"
585585
url: "https://pub.dev"
586586
source: hosted
587-
version: "1.5.0"
587+
version: "1.6.0"
588588
http_parser:
589589
dependency: transitive
590590
description:
@@ -597,10 +597,10 @@ packages:
597597
dependency: transitive
598598
description:
599599
name: image
600-
sha256: "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928"
600+
sha256: "492bd52f6c4fbb6ee41f781ff27765ce5f627910e1e0cbecfa3d9add5562604c"
601601
url: "https://pub.dev"
602602
source: hosted
603-
version: "4.5.4"
603+
version: "4.7.2"
604604
integration_test:
605605
dependency: "direct main"
606606
description: flutter
@@ -1242,18 +1242,18 @@ packages:
12421242
dependency: transitive
12431243
description:
12441244
name: shared_preferences
1245-
sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5"
1245+
sha256: "2939ae520c9024cb197fc20dee269cd8cdbf564c8b5746374ec6cacdc5169e64"
12461246
url: "https://pub.dev"
12471247
source: hosted
1248-
version: "2.5.3"
1248+
version: "2.5.4"
12491249
shared_preferences_android:
12501250
dependency: transitive
12511251
description:
12521252
name: shared_preferences_android
1253-
sha256: "46a46fd64659eff15f4638bbe19de43f9483f0e0bf024a9fb6b3582064bacc7b"
1253+
sha256: "83af5c682796c0f7719c2bbf74792d113e40ae97981b8f266fa84574573556bc"
12541254
url: "https://pub.dev"
12551255
source: hosted
1256-
version: "2.4.17"
1256+
version: "2.4.18"
12571257
shared_preferences_foundation:
12581258
dependency: transitive
12591259
description:
@@ -1591,10 +1591,10 @@ packages:
15911591
dependency: transitive
15921592
description:
15931593
name: webview_flutter_android
1594-
sha256: "3fcca88ee2ae568807ebd42deed235bb8dd8e62b3e4d5caff67daa6bce062cca"
1594+
sha256: eeeb3fcd5f0ff9f8446c9f4bbc18a99b809e40297528a3395597d03aafb9f510
15951595
url: "https://pub.dev"
15961596
source: hosted
1597-
version: "4.10.9"
1597+
version: "4.10.11"
15981598
webview_flutter_platform_interface:
15991599
dependency: transitive
16001600
description:
@@ -1615,10 +1615,10 @@ packages:
16151615
dependency: transitive
16161616
description:
16171617
name: webview_flutter_wkwebview
1618-
sha256: a57b76a081bed3bf3a71a486bdf83642b00f1a7342043d50367cea68f338b1af
1618+
sha256: e49f378ed066efb13fc36186bbe0bd2425630d4ea0dbc71a18fdd0e4d8ed8ebc
16191619
url: "https://pub.dev"
16201620
source: hosted
1621-
version: "3.23.4"
1621+
version: "3.23.5"
16221622
win32:
16231623
dependency: transitive
16241624
description:

packages/flet/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.80.1
2+
3+
* Fix `flet publish` to sub-directories, Icons Browser and other Gallery examples updated [#5964](https://github.com/flet-dev/flet/pull/5964).
4+
15
# 0.80.0
26

37
* **Flet 1.0 Beta Release**[Read the announcement](https://flet.dev/blog/flet-1-0-beta)

packages/flet/README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ On the server side Flet provides an easy to learn programming model that enables
1414

1515
### Install `flet` Python module
1616

17-
Flet requires Python 3.7 or above. To start with Flet, you need to install flet module first:
17+
Flet requires Python 3.10 or above. To start with Flet, you need to install flet module first:
1818

1919
```
2020
pip install flet
@@ -27,35 +27,32 @@ Create a new Python program using Flet which will be driving the content of `Fle
2727
Let's do a simple `counter.py` app similar to a Flutter new project template:
2828

2929
```python
30-
import flet
31-
from flet import IconButton, Page, Row, TextField, icons
30+
import flet as ft
3231

33-
def main(page: Page):
32+
def main(page: ft.Page):
3433
page.title = "Flet counter example"
35-
page.vertical_alignment = "center"
34+
page.vertical_alignment = ft.MainAxisAlignment.CENTER
3635

37-
txt_number = TextField(value="0", text_align="right", width=100)
36+
txt_number = ft.TextField(value="0", text_align=ft.TextAlign.RIGHT, width=100)
3837

3938
def minus_click(e):
40-
txt_number.value = int(txt_number.value) - 1
41-
page.update()
39+
txt_number.value = str(int(txt_number.value) - 1)
4240

4341
def plus_click(e):
44-
txt_number.value = int(txt_number.value) + 1
45-
page.update()
42+
txt_number.value = str(int(txt_number.value) + 1)
4643

4744
page.add(
48-
Row(
45+
ft.Row(
4946
[
50-
IconButton(icons.REMOVE, on_click=minus_click),
47+
ft.IconButton(ft.Icons.REMOVE, on_click=minus_click, key="decrement"),
5148
txt_number,
52-
IconButton(icons.ADD, on_click=plus_click),
49+
ft.IconButton(ft.Icons.ADD, on_click=plus_click),
5350
],
54-
alignment="center",
51+
alignment=ft.MainAxisAlignment.CENTER,
5552
)
5653
)
5754

58-
flet.app(target=main, port=8550)
55+
ft.run(main)
5956
```
6057

6158
Run the app:
@@ -144,4 +141,4 @@ Coming soon.
144141

145142
## Adding custom Flutter widgets
146143

147-
Coming soon.
144+
Coming soon.

packages/flet/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flet
22
description: Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/flet/packages/flet
5-
version: 0.80.0
5+
version: 0.80.1
66

77
# Supported platforms
88
platforms:

0 commit comments

Comments
 (0)