Update selection_dialog.dart

This commit is contained in:
vlfr1997
2020-09-24 19:00:02 -03:00
committed by GitHub
parent 300f86c9b8
commit 51f50b61d8

View File

@@ -31,7 +31,7 @@ class SelectionDialog extends StatefulWidget {
this.flagWidth = 32,
this.size,
this.hideSearch = false,
this.closeIcon = closeIcon,
this.closeIcon,
}) : assert(searchDecoration != null, 'searchDecoration must not be null!'),
this.searchDecoration = searchDecoration.prefixIcon == null
? searchDecoration.copyWith(prefixIcon: Icon(Icons.search))