flet
flet copied to clipboard
Implement `str` and `repr` magic methods for `Event`s
Summary by Sourcery
This pull request introduces string representation methods (__str__
and __repr__
) for the Event
class, improving debugging and logging capabilities. Additionally, it enhances the ContainerControl
to support onTapDown
events, expanding its interactivity.
-
New Features:
- Implemented
__str__
and__repr__
magic methods for theEvent
class to provide string representations.
- Implemented
-
Enhancements:
- Enhanced
ContainerControl
to handleonTapDown
events in addition to existing event handlers.
- Enhanced