Update lib/src/selection_dialog.dart

Co-authored-by: Chandra Abdul Fattah <chandrashibezzo@gmail.com>
This commit is contained in:
Nilashish Roy
2024-10-28 23:46:23 +06:00
committed by GitHub
parent 24f5ae8ed3
commit 5c10b16f16

View File

@@ -115,7 +115,7 @@ class _SelectionDialogState extends State<SelectionDialog> {
overflow: TextOverflow.fade,
style: widget.headerTextStyle,
)
: const SizedBox(),
: const SizedBox.shrink(),
if (!widget.hideCloseIcon)
IconButton(
padding: const EdgeInsets.all(0),