setShowCloseButton method

void setShowCloseButton(
  1. bool show
)

Implementation

void setShowCloseButton(bool show) => showCloseButton.value = show;