Skip to content

Commit 2a1facb

Browse files
authored
Change the type alias from a class to a real rename (#5258)
1 parent 8f83b45 commit 2a1facb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sdk/python/packages/flet/src/flet/core/dropdown.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,9 @@ def trailing_icon(self, value: Optional[IconValueOrControl]):
151151
self._set_enum_attr("trailingIcon", value, IconEnums)
152152

153153

154-
class DropdownOption(Option):
155-
"""Alias for Option"""
156-
157-
154+
DropdownOption = Option
155+
156+
158157
class Dropdown(FormFieldControl):
159158
"""
160159
A dropdown control that allows users to select a single option from a list of options.

0 commit comments

Comments
 (0)