Skip to content

Commit e9c2bc3

Browse files
committed
refactor: replace initially_expanded with expanded in examples
1 parent 621c6d5 commit e9c2bc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/python/examples/controls/expansion_tile/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]):
5353
title=ft.Text("ExpansionTile 3"),
5454
subtitle=ft.Text("Leading expansion arrow icon"),
5555
affinity=ft.TileAffinity.LEADING,
56-
initially_expanded=True,
56+
expanded=True,
5757
collapsed_text_color=ft.Colors.BLUE_800,
5858
text_color=ft.Colors.BLUE_200,
5959
controls=[

sdk/python/examples/controls/expansion_tile/theme_mode_toggle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]):
6363
title=ft.Text("ExpansionTile 3"),
6464
subtitle=ft.Text("Leading expansion arrow icon"),
6565
affinity=ft.TileAffinity.LEADING,
66-
initially_expanded=True,
66+
expanded=True,
6767
collapsed_text_color=ft.Colors.BLUE_800,
6868
text_color=ft.Colors.BLUE_200,
6969
controls=[

0 commit comments

Comments
 (0)