MCPcopy
hub / github.com/flet-dev/flet / add_clicked

Method add_clicked

sdk/python/examples/tutorials/todo/step_3.py:23–26  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

21 ]
22
23 def add_clicked(self, e):
24 self.tasks_view.controls.append(ft.Checkbox(label=self.new_task.value))
25 self.new_task.value = ""
26 self.update()
27
28
29def main(page: ft.Page):

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected