Applying Custom Properties to Specific Child Widgets in a ListView

How can I modify properties of specific child elements within a ListView? For example, I have a ListView containing 3 containers and I want to apply custom padding only to the first container. It should works automatically with any first child item of the ListView, that means i will not manually add the padding to the first container in the example. How can I achieve this?

1 reply