From f1aa08bdd00108690c8c7d3cc3d664ee8d82f5fe Mon Sep 17 00:00:00 2001 From: vlfr1997 <49419833+vlfr1997@users.noreply.github.com> Date: Thu, 24 Sep 2020 18:41:00 -0300 Subject: [PATCH] Update selection_dialog.dart --- lib/selection_dialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/selection_dialog.dart b/lib/selection_dialog.dart index e73699d..baf6e88 100644 --- a/lib/selection_dialog.dart +++ b/lib/selection_dialog.dart @@ -31,7 +31,7 @@ class SelectionDialog extends StatefulWidget { this.flagWidth = 32, this.size, this.hideSearch = false, - this.closeIcon = closeIcon == null ? Icon(Icons.close) : closeIcon, + this.closeIcon = closeIcon, }) : assert(searchDecoration != null, 'searchDecoration must not be null!'), this.searchDecoration = searchDecoration.prefixIcon == null ? searchDecoration.copyWith(prefixIcon: Icon(Icons.search))