setCenterWidget

open fun setCenterWidget(widget: Widget? = null)

Sets the new center widget of @self.

To remove the existing center widget, pass null.

Parameters

widget

the new center widget