Skip to content

Commit 9540beb

Browse files
committed
Fix ElevatedButton regression
1 parent 5dc34eb commit 9540beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/flet/elevated_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class ElevatedButton(ConstrainedControl):
1313
def __init__(
1414
self,
15-
text: Optional[str],
15+
text: Optional[str] = None,
1616
ref: Optional[Ref] = None,
1717
width: OptionalNumber = None,
1818
height: OptionalNumber = None,

0 commit comments

Comments
 (0)