showCloseButton property

bool? get showCloseButton

Whether to show the close button. null keeps the widget default (true).

Implementation

bool? get showCloseButton => _showCloseButton;
set showCloseButton (bool? value)

Implementation

set showCloseButton(bool? value) {
  if (_showCloseButton == value) return;
  _showCloseButton = value;
  notifyListeners();
}