setChild

open override fun setChild(child: Widget?)

Sets the child to be used for this listitem.

This function is typically called by applications when setting up a listitem so that the widget can be reused when binding it multiple times.

Since

4.12

Parameters

child

The list item's child or null to unset