kamilgadek / to_do_list_kamilg

1 stars 0 forks source link

create tasks repository #8

Closed mszakacz closed 2 months ago

mszakacz commented 3 months ago

It's a good practice to keep code modular. In Flutter we usually succeeded by splitting the code to packages. in the top level of the app create a new folder named packages and create a new package named tasks_repository. Flutter has a script that makes the magic: flutter create --template=package <package_name> In this case it would be: flutter create --template=package <package_name> Just remember to run in in packages folder, otherwise new package will be create somewhere else. @kamilgadek Let me know if you would have a questions

mszakacz commented 2 months ago

Done in https://github.com/kamilgadek/to_do_list_kamilg/pull/13