flet-dev / website

flet.dev project website
MIT License
68 stars 356 forks source link

build() instead of __init__() in TodoApp class examples #282

Closed jeasoft closed 3 months ago

jeasoft commented 4 months ago

I got the next issue while following the tutorial: TypeError: __init__() should return None, not 'Column'. It seems the TodoApp() class have build()method instead of the __init__()

BTW, thanks guys for your awesome work, I'm exploring this framework to prototype a mobile app and it seems it's a great option for those who are not very familiar with Dart stuff

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

ndonkoHenri commented 4 months ago

Thanks for your contribution! This section of the tutorial actually needs to be updated because UserControl is now deprecated.

InesaFitsner commented 3 months ago

updated tutorial to get rid of UserControl and this change was included