setCenterWidget

open fun setCenterWidget(child: Widget? = null)

Sets the center widget.

To remove the existing center widget, pass null.

Parameters

child

the new center widget