setChild

open fun setChild(child: Widget? = null)

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.

Parameters

child

The list item's child or null to unset