We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5f55e commit ad2ad88Copy full SHA for ad2ad88
sdk/python/packages/flet-core/src/flet_core/control.py
@@ -156,6 +156,9 @@ def __str__(self):
156
attrs[k] = v[0]
157
return f"{self._get_control_name()} {attrs}"
158
159
+ def __repr__(self):
160
+ return f"{self.__class__.__name__}(" + ", ".join(f"{k}={v[0]}" for k, v in self.__attrs.items()) + ")"
161
+
162
# event_handlers
163
@property
164
def event_handlers(self):
0 commit comments