MCPcopy Index your code
hub / github.com/flet-dev/flet / toggle_task_status

Method toggle_task_status

sdk/python/examples/apps/studio_gallery/todo.py:20–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self.name = new_name
19
20 def toggle_task_status(self):
21 self.completed = not self.completed
22 if self.on_status_changed:
23 self.on_status_changed()
24
25
26@ft.observable

Callers 1

TaskItemViewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected