diff --git a/lib/src/selection_dialog.dart b/lib/src/selection_dialog.dart index 3145bd4..74d7d07 100644 --- a/lib/src/selection_dialog.dart +++ b/lib/src/selection_dialog.dart @@ -115,7 +115,7 @@ class _SelectionDialogState extends State { overflow: TextOverflow.fade, style: widget.headerTextStyle, ) - : const SizedBox(), + : const SizedBox.shrink(), if (!widget.hideCloseIcon) IconButton( padding: const EdgeInsets.all(0),