setChild

open fun setChild(child: Widget? = null)

Sets the child widget of @button.

Note that by using this API, you take full responsibility for setting up the proper accessibility label and description information for @button. Most likely, you'll either set the accessibility label or description for @button explicitly, or you'll set a labelled-by or described-by relations from @child to @button.

Parameters

child

the child widget