kamilgadek / to_do_list_kamilg

1 stars 0 forks source link

TasksPage shows list of tasks #11

Closed mszakacz closed 2 months ago

mszakacz commented 3 months ago

Requirements

You should already have completed all previous Issues.

What to do

Go to 'tasks_page'. Let's develop this page to show a list of tasks. It should use Task model and use TaskWidget. For now, let's take data that we hard-coded in tasks_repository - it was the hard-coded list of tasks. In the future we will add some state management here, but for now, the main object of this Issue is to create a List widget.

kamilgadek commented 2 months ago

I think to use ListView widget for display my list of tasks, because: ListView is ideal for displaying a list of items because it efficiently manages memory by only building the widgets that are visible on the screen. It handles dynamic content well, allowing you to create items on-the-fly based on the list length. With its built-in support for scrolling and customization options, ListView provides an easy and flexible way to display your tasks and integrate with future state management solutions.

mszakacz commented 2 months ago

@kamilgadek Good research! Let's take ListView then.

mszakacz commented 2 months ago

done