InfoBar.getShowCloseButton

bool getShowCloseButton()

Returns whether the widget will display a standard close button.

Returns

true if the widget displays standard close button