Skip to content

Commit c43ad5e

Browse files
authored
Update custom-controls.md
It looks like a : was forgotten. :)
1 parent dfdc6bd commit c43ad5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/custom-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The most simple custom control you can create is a styled control, for example,
1414
To create a styled control, you need to create a new class in Python that inherits from the Flet control you are going to customize, `ElevatedButton` in this case:
1515

1616
```python
17-
class MyButton(ft.ElevatedButton)
17+
class MyButton(ft.ElevatedButton):
1818
def __init__(self, text):
1919
super().__init__()
2020
self.bgcolor = ft.Colors.ORANGE_300

0 commit comments

Comments
 (0)