I am constructing my widget
This is a List View and that’s not how they work, you never add widgets to list views directly. You add data objects instead and the list view instantiates the widgets for you. Better have a look at a List View tutorial.
List View
data objects
A crude random crash course example: